From ff8fe64b64b11a614e3fc74f925494c46782a748 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Sun, 2 Jun 2013 20:53:44 +0200 Subject: [PATCH] [RUtils] This was a bad idea, use ` instead --- rutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rutils.py b/rutils.py index 8abfb44..ed2a980 100755 --- a/rutils.py +++ b/rutils.py @@ -216,10 +216,10 @@ def regex(phenny, input): if not input.group(2): return q = input.group(2).encode('utf-8') - rgx = q[:q.find("\xb0")] - txt = q[q.find("\xb0")+1:] + rgx = q[:q.find("`")] + txt = q[q.find("`")+1:] if rgx == "" or txt == "": - return phenny.reply("Give me a regex and a message seperated by \xb0") + return phenny.reply("Give me a regex and a message seperated by `") try: r = re.compile(rgx) except BaseException as e: