equal
deleted
inserted
replaced
2212 |
2212 |
2213 class _re: |
2213 class _re: |
2214 def _checkre2(self): |
2214 def _checkre2(self): |
2215 global _re2 |
2215 global _re2 |
2216 global _re2_input |
2216 global _re2_input |
|
2217 if _re2 is not None: |
|
2218 # we already have the answer |
|
2219 return |
2217 |
2220 |
2218 check_pattern = br'\[([^\[]+)\]' |
2221 check_pattern = br'\[([^\[]+)\]' |
2219 check_input = b'[ui]' |
2222 check_input = b'[ui]' |
2220 try: |
2223 try: |
2221 # check if match works, see issue3964 |
2224 # check if match works, see issue3964 |