mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Fix for bug #826612.
This commit is contained in:
parent
4a8b627b2d
commit
e1eb6cff8e
@ -154,7 +154,7 @@ class Utilities(callbacks.Privmsg):
|
||||
f = None
|
||||
try:
|
||||
r = utils.perlReToPythonRe(regexp)
|
||||
f = lambda s: ' '.join(r.findall(text))
|
||||
f = lambda s: r.search(s) and r.search(s).group(0) or ''
|
||||
except ValueError, e:
|
||||
try:
|
||||
f = utils.perlReToReplacer(regexp)
|
||||
|
Loading…
Reference in New Issue
Block a user