diff options
author | Georg Brandl <georg@python.org> | 2019-05-07 17:46:01 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-05-07 17:46:01 +0200 |
commit | a5e3278c84828eb3f18f41c1af25324235b97d21 (patch) | |
tree | 0ac0c700fac8036aa29d326f1b9c33db2c464d6b /pygments/lexers | |
parent | deea374f51f82b1ea16b27df3dce1749be93f614 (diff) | |
download | pygments-a5e3278c84828eb3f18f41c1af25324235b97d21.tar.gz |
Fix invalid string escape.
Diffstat (limited to 'pygments/lexers')
-rw-r--r-- | pygments/lexers/asm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py index 7100868c..b522450c 100644 --- a/pygments/lexers/asm.py +++ b/pygments/lexers/asm.py @@ -690,7 +690,7 @@ class Dasm16Lexer(RegexLexer): # Regexes yo char = r'[a-zA-Z$._0-9@]' - identifier = r'(?:[a-zA-Z$_]' + char + '*|\.' + char + '+)' + identifier = r'(?:[a-zA-Z$_]' + char + r'*|\.' + char + '+)' number = r'[+-]?(?:0[xX][a-zA-Z0-9]+|\d+)' binary_number = r'0b[01_]+' instruction = r'(?i)(' + '|'.join(INSTRUCTIONS) + ')' |