diff -r 0ad2ffbf6b38 -r 218d5b9aa466 mercurial/commands.py --- a/mercurial/commands.py Sat Feb 09 18:58:31 2008 +0100 +++ b/mercurial/commands.py Sat Feb 09 19:13:57 2008 +0100 @@ -963,7 +963,7 @@ try: regexp = re.compile(pattern, reflags) except Exception, inst: - ui.warn(_("grep: invalid match pattern: %s!\n") % inst) + ui.warn(_("grep: invalid match pattern: %s\n") % inst) return None sep, eol = ':', '\n' if opts['print0']: