branch | stable |
changeset 50684 | 82cf392c99f6 |
parent 49861 | ffeeaeb2d142 |
child 50685 | 293e1763982e |
--- a/mercurial/util.py Mon Jun 12 10:50:00 2023 +0200 +++ b/mercurial/util.py Sat Jun 17 04:02:25 2023 +0200 @@ -2214,6 +2214,9 @@ def _checkre2(self): global _re2 global _re2_input + if _re2 is not None: + # we already have the answer + return check_pattern = br'\[([^\[]+)\]' check_input = b'[ui]'