mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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
|
f = None
|
||||||
try:
|
try:
|
||||||
r = utils.perlReToPythonRe(regexp)
|
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:
|
except ValueError, e:
|
||||||
try:
|
try:
|
||||||
f = utils.perlReToReplacer(regexp)
|
f = utils.perlReToReplacer(regexp)
|
||||||
|
Loading…
Reference in New Issue
Block a user