From 0cefbbad6ac464c545cfade361776c165d109215 Mon Sep 17 00:00:00 2001 From: diSabler Date: Thu, 12 Jun 2014 16:08:08 +0400 Subject: [PATCH] fix: svn command --- plugins/svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/svn.py b/plugins/svn.py index 73c36bc..b0636dc 100644 --- a/plugins/svn.py +++ b/plugins/svn.py @@ -27,7 +27,7 @@ def svn_get(type, jid, nick,text): count,revn = 1,0 if '-v' in text.split(): text,verb = reduce_spaces_all(text.replace('-v','')),True else: verb = False - text = ''.join(re.findall('[-a-z/:.0-9]+', text, re.S+re.I+re.U)) + text = ''.join(re.findall('[-a-z\/\:\.0-9\ ]+', text, re.S+re.I+re.U)) if ' ' in text: text = text.split(' ') url = text[0]