Thanks to visit codestin.com Credit goes to github.com
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 f9c5e3f commit 5a4a963Copy full SHA for 5a4a963
1 file changed
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