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 fb4ecad commit 099c4a2Copy full SHA for 099c4a2
bottle.py
@@ -3430,8 +3430,8 @@ class StplParser(object):
3430
# 2: Comments (until end of line, but not the newline itself)
3431
_re_tok += '|(#.*)'
3432
# 3,4: Open and close grouping tokens
3433
- _re_tok += '|([\[\{\(])'
3434
- _re_tok += '|([\]\}\)])'
+ _re_tok += '|([\\[\\{\\(])'
+ _re_tok += '|([\\]\\}\\)])'
3435
# 5,6: Keywords that start or continue a python block (only start of line)
3436
_re_tok += '|^([ \\t]*(?:if|for|while|with|try|def|class)\\b)' \
3437
'|^([ \\t]*(?:elif|else|except|finally)\\b)'
0 commit comments