Show More
@@ -25,7 +25,7 b' from .. import (' | |||
|
25 | 25 | |
|
26 | 26 | # regex special chars pulled from https://bugs.python.org/issue29995 |
|
27 | 27 | # which was part of Python 3.7. |
|
28 | _respecial = pycompat.bytestr(b'()[]{}?*+-|^$\\.# \t\n\r\v\f') | |
|
28 | _respecial = pycompat.bytestr(b'()[]{}?*+-|^$\\.&~# \t\n\r\v\f') | |
|
29 | 29 | _regexescapemap = {ord(i): (b'\\' + i).decode('latin1') for i in _respecial} |
|
30 | 30 | |
|
31 | 31 | def reescape(pat): |
General Comments 0
You need to be logged in to leave comments.
Login now