Fixed bugz0r.

This commit is contained in:
Jeremy Fincher 2004-10-22 19:50:32 +00:00
parent 53f77b790b
commit 410569708c

View File

@ -299,10 +299,10 @@ def _getRe(f):
if len(s) < 512:
state.args.append(f(s))
else:
irc.errorInvalid('regular expression')
irc.errorInvalid('regular expression', s)
except IndexError:
args[:] = original
raise
irc.errorInvalid('regular expression', s)
return get
getMatcher = _getRe(utils.perlReToPythonRe)