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/templates.py | |
parent | f8a5949ecb6e4865aad9c2511d14b5a9ee87bdc6 (diff) | |
download | pygments-4eb6e4dd67d57197d3a077cf4aeca6736ef85d5b.tar.gz |
Superfluous character class when only one char
Diffstat (limited to 'pygments/lexers/templates.py')
-rw-r--r-- | pygments/lexers/templates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 62d5da85..25f53585 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -753,7 +753,7 @@ class CheetahLexer(RegexLexer): (r'''(?sx) (.+?) # anything, followed by: (?: - (?=[#][#a-zA-Z]*) | # an eval comment + (?=\#[#a-zA-Z]*) | # an eval comment (?=\$[a-zA-Z_{]) | # a substitution \Z # end of string ) |