diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-15 20:50:25 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-15 20:50:25 -0400 |
commit | 4eb6e4dd67d57197d3a077cf4aeca6736ef85d5b (patch) | |
tree | 4be64c9c482ab43bb16c26cbd7a49f1a6af9fff8 /pygments/lexers/compiled.py | |
parent | f8a5949ecb6e4865aad9c2511d14b5a9ee87bdc6 (diff) | |
download | pygments-4eb6e4dd67d57197d3a077cf4aeca6736ef85d5b.tar.gz |
Superfluous character class when only one char
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r-- | pygments/lexers/compiled.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index 913de08b..c41cd3df 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -2766,7 +2766,7 @@ class BlitzMaxLexer(RegexLexer): bmax_lktypes = r'\b(Int|Byte|Short|Float|Double|Long)\b' bmax_name = r'[a-z_][a-z0-9_]*' bmax_var = (r'(%s)(?:(?:([ \t]*)(%s)|([ \t]*:[ \t]*\b(?:Shl|Shr|Sar|Mod)\b)' - r'|([ \t]*)([:])([ \t]*)(?:%s|(%s)))(?:([ \t]*)(Ptr))?)') % \ + r'|([ \t]*)(:)([ \t]*)(?:%s|(%s)))(?:([ \t]*)(Ptr))?)') % \ (bmax_name, bmax_sktypes, bmax_lktypes, bmax_name) bmax_func = bmax_var + r'?((?:[ \t]|\.\.\n)*)([(])' |