##// END OF EJS Templates
re2: exit `_checkre2` early if calling it is useless...
marmoute -
r51580:82cf392c stable
parent child Browse files
Show More
@@ -2214,6 +2214,9 b' 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]'
General Comments 0
You need to be logged in to leave comments. Login now