mercurial/match.py
changeset 21909 335bb8b80443
parent 21815 a4b67bf1f0a5
child 21915 d516b6de3821
--- 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