mercurial/commands.py
changeset 21911 760f4055e656
parent 21848 ecdbbb6e5d06
child 21929 5bd11162c0a4
--- a/mercurial/commands.py	Tue Jul 15 14:50:58 2014 -0700
+++ b/mercurial/commands.py	Tue Jul 15 14:52:22 2014 -0700
@@ -3303,7 +3303,7 @@
     if opts.get('ignore_case'):
         reflags |= re.I
     try:
-        regexp = util.compilere(pattern, reflags)
+        regexp = util.re.compile(pattern, reflags)
     except re.error, inst:
         ui.warn(_("grep: invalid match pattern: %s\n") % inst)
         return 1