summaryrefslogtreecommitdiff
path: root/pygments/lexers/templates.py
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-05-15 20:50:25 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-05-15 20:50:25 -0400
commit4eb6e4dd67d57197d3a077cf4aeca6736ef85d5b (patch)
tree4be64c9c482ab43bb16c26cbd7a49f1a6af9fff8 /pygments/lexers/templates.py
parentf8a5949ecb6e4865aad9c2511d14b5a9ee87bdc6 (diff)
downloadpygments-4eb6e4dd67d57197d3a077cf4aeca6736ef85d5b.tar.gz
Superfluous character class when only one char
Diffstat (limited to 'pygments/lexers/templates.py')
-rw-r--r--pygments/lexers/templates.py2
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
)