branch | stable |
changeset 46521 | ebc6d3484fdd |
parent 46113 | 59fa3890d40a |
child 46675 | 6f4a481f182a |
child 46802 | 112826b59476 |
--- a/mercurial/util.py Wed Feb 10 23:03:54 2021 +0100 +++ b/mercurial/util.py Wed Feb 24 15:16:22 2021 +0100 @@ -2170,7 +2170,7 @@ global _re2 try: # check if match works, see issue3964 - _re2 = bool(re2.match(r'\[([^\[]+)\]', b'[ui]')) + _re2 = bool(re2.match(br'\[([^\[]+)\]', b'[ui]')) except ImportError: _re2 = False