summaryrefslogtreecommitdiff
path: root/pygments/lexers/asm.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-05-16 14:20:32 -0700
committerTim Hatch <tim@timhatch.com>2014-05-16 14:20:32 -0700
commit6c1b71840afd3abc6577452ed47c813290245491 (patch)
treed581a50109fca8122e92ed6dcfb63b5834462b07 /pygments/lexers/asm.py
parentd961cec379aa5bba2102af3627002968aa2d0173 (diff)
parent45c6a7514c20a476ac20d5dd6979524b3c5232ea (diff)
downloadpygments-6c1b71840afd3abc6577452ed47c813290245491.tar.gz
Merged in jaingaurav2/pygments-main (pull request #357)
Numerous regexlint fixes
Diffstat (limited to 'pygments/lexers/asm.py')
-rw-r--r--pygments/lexers/asm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py
index 13649521..35092f52 100644
--- a/pygments/lexers/asm.py
+++ b/pygments/lexers/asm.py
@@ -318,8 +318,8 @@ class NasmLexer(RegexLexer):
filenames = ['*.asm', '*.ASM']
mimetypes = ['text/x-nasm']
- identifier = r'[a-zA-Z$._?][\w$.?#@~]*'
- hexn = r'(?:0[xX][0-9a-fA-F]+|$0[0-9a-fA-F]*|[0-9]+[0-9a-fA-F]*h)'
+ identifier = r'[a-z$._?][\w$.?#@~]*'
+ hexn = r'(?:0[xX][0-9a-f]+|$0[0-9a-f]*|[0-9]+[0-9a-f]*h)'
octn = r'[0-7]+q'
binn = r'[01]+b'
decn = r'[0-9]+'