aboutsummaryrefslogtreecommitdiff
path: root/grammars/python.bp
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/python.bp')
-rw-r--r--grammars/python.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/python.bp b/grammars/python.bp
index 37d6a88..cb5d047 100644
--- a/grammars/python.bp
+++ b/grammars/python.bp
@@ -7,7 +7,7 @@
# See the accompanying README.md for more info.
comment: `# ..$
-string: "'''" ..%\n "'''" / '"""' ..%\n '"""' / `" ..%(`\.) `" / `' ..%(`\.) `'
+string: "'''" ..%\n "'''" / '"""' ..%\n '"""' / `" ..%string-escape `" / `' ..%string-escape `'
keyword: "and" / "as" / "assert" / "break" / "class" / "continue" / "def" /
"del" / "elif" / "else" / "except" / "finally" / "for" / "from" /
"global" / "if" / "import" / "in" / "is" / "lambda" / "None" / "nonlocal" /