changeset 21909:335bb8b80443

match: use util.re.compile instead of util.compilere
author Siddharth Agarwal <sid0@fb.com>
date Tue, 15 Jul 2014 14:49:45 -0700
parents cad9dadc9d26
children fc04fdb2b349
files mercurial/match.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/match.py	Tue Jul 15 14:40:43 2014 -0700
+++ b/mercurial/match.py	Tue Jul 15 14:49:45 2014 -0700
@@ -12,7 +12,7 @@
 def _rematcher(regex):
     '''compile the regexp with the best available regexp engine and return a
     matcher function'''
-    m = util.compilere(regex)
+    m = util.re.compile(regex)
     try:
         # slightly faster, provided by facebook's re2 bindings
         return m.test_match