From fd43eeafb93f9a18e5d376713bd8e96deed630f5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 11 Apr 2003 21:19:28 +0000 Subject: [PATCH] Fixed re command. --- plugins/Utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Utilities.py b/plugins/Utilities.py index 92e8cafd4..8b6d80d5c 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -81,7 +81,7 @@ class Utilities(callbacks.Privmsg): Returns all matches to (in the form /regexp/flags) in text. """ (regexp, text) = privmsgs.getArgs(args, needed=2) - (_, regexp, flags) = re.split('/') + (_, regexp, flags) = regexp.split('/') flag = 0 for c in flags: flag &= getattr(re, c.upper())