We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bafaf07 commit 27183f4Copy full SHA for 27183f4
Doc/tools/extensions/peg_highlight.py
@@ -59,7 +59,7 @@ class PEGLexer(RegexLexer):
59
include("variables"),
60
(r"\b(?!(NULL|EXTRA))([A-Z_]+)\b\s*(?!\()", Text,),
61
(
62
- r"^\s*" + _name + "\s*" + "(\[.*\])?" + "\s*" + "(\(.+\))?" + "\s*(:)",
+ r"^\s*" + _name + r"\s*" + r"(\[.*\])?" + r"\s*" + r"(\(.+\))?" + r"\s*(:)",
63
bygroups(Name.Function, None, None, Punctuation),
64
),
65
(_name, Name.Function),
0 commit comments