##// END OF EJS Templates
re2: byteify some regex used to get check re2 availability...
marmoute -
r47271:ebc6d348 stable
parent child Browse files
Show More
@@ -2170,7 +2170,7 b' class _re(object):'
2170 global _re2
2170 global _re2
2171 try:
2171 try:
2172 # check if match works, see issue3964
2172 # check if match works, see issue3964
2173 _re2 = bool(re2.match(r'\[([^\[]+)\]', b'[ui]'))
2173 _re2 = bool(re2.match(br'\[([^\[]+)\]', b'[ui]'))
2174 except ImportError:
2174 except ImportError:
2175 _re2 = False
2175 _re2 = False
2176
2176
General Comments 0
You need to be logged in to leave comments. Login now