Rename the regex constants

This commit is contained in:
Veronica K. B. Olsen
2020-10-14 18:13:42 +02:00
parent 366d601983
commit 1a0f37fa45
3 changed files with 6 additions and 6 deletions
+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]),
]