[fix] escaping curly braces for regex compilation
This commit is contained in:
@@ -511,6 +511,8 @@ string_replacements = {
|
|||||||
u']': u'\]',
|
u']': u'\]',
|
||||||
u'(': u'\(',
|
u'(': u'\(',
|
||||||
u')': u'\)',
|
u')': u'\)',
|
||||||
|
u'{': u'\{',
|
||||||
|
u'}': u'\{',
|
||||||
u'\\': u'\\\\',
|
u'\\': u'\\\\',
|
||||||
u'\u0000': '',
|
u'\u0000': '',
|
||||||
u'': EMPTY_TRANSITION,
|
u'': EMPTY_TRANSITION,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user