summaryrefslogtreecommitdiff
path: root/pygments/lexers/grammar_notation.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/grammar_notation.py')
-rw-r--r--pygments/lexers/grammar_notation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/grammar_notation.py b/pygments/lexers/grammar_notation.py
index 076249d3..bc715ffa 100644
--- a/pygments/lexers/grammar_notation.py
+++ b/pygments/lexers/grammar_notation.py
@@ -158,7 +158,7 @@ class JsgfLexer(RegexLexer):
(r'//.*', Comment.Single),
],
'non-comments': [
- ('\A#JSGF[^;]*', Comment.Preproc),
+ (r'\A#JSGF[^;]*', Comment.Preproc),
(r'\s+', Text),
(r';', Punctuation),
(r'[=|()\[\]*+]', Operator),