Rename the regex constants

This commit is contained in:
Veronica K. B. Olsen committed 2020-10-14 18:13:42 +02:00
1 parent 366d601983
commit 1a0f37fa45
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -297,8 +297,8 @@ class Tokenizer():
"""
# RegExes for adding formatting tags within text lines
rxFormats = [
(QRegularExpression(nwRegEx.FMT_I), [None, self.FMT_I_B, None, self.FMT_I_E]),
(QRegularExpression(nwRegEx.FMT_B), [None, self.FMT_B_B, None, self.FMT_B_E]),
(QRegularExpression(nwRegEx.FMT_EI), [None, self.FMT_I_B, None, self.FMT_I_E]),
(QRegularExpression(nwRegEx.FMT_EB), [None, self.FMT_B_B, None, self.FMT_B_E]),
(QRegularExpression(nwRegEx.FMT_ST), [None, self.FMT_D_B, None, self.FMT_D_E]),
]