summaryrefslogtreecommitdiff
path: root/pygments/lexers/math.py
diff options
context:
space:
mode:
authorJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-08-11 01:08:00 -0400
committerJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-08-11 01:08:00 -0400
commit862b91d319d912d2029bd99cfaed9b4e3c18fe20 (patch)
tree037890028cc6b7c7f92febc126ca4d7ee61a97f4 /pygments/lexers/math.py
parent8ec52bc913dc5b012fe230ed5f3326d0d0a4b8f8 (diff)
downloadpygments-862b91d319d912d2029bd99cfaed9b4e3c18fe20.tar.gz
SLexer: fixed bug in valid_names
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r--pygments/lexers/math.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 7b738e38..9139e19a 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -1012,7 +1012,7 @@ class SLexer(RegexLexer):
'valid_name': [
(r'[a-zA-Z][0-9a-zA-Z\._]+', Text),
# can begin with ., but not if that is followed by a digit
- (r'\.[a-zA-Z._][0-9a-zA-Z\._]+', Text),
+ (r'\.[a-zA-Z_][0-9a-zA-Z\._]+', Text),
(r'`.+`', String.Backtick),
],
'punctuation': [