From bef686affb94691d130ce1bf61d55e7c030fc7bd Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 20 Dec 2012 23:29:28 +0100 Subject: Typo. --- source/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils.py b/source/utils.py index b1392b0e..d9b21169 100755 --- a/source/utils.py +++ b/source/utils.py @@ -56,7 +56,7 @@ from collections import Counter import conf -# regular expression to chech URL +# regular expression to check URL url_finders = [ \ re.compile("([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|(((news|telnet|nttp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+)(:[0-9]*)?/[-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]*[^]'\\.}>\\),\\\"]"), \ re.compile("([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|(((news|telnet|nttp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+)(:[0-9]*)?"), \ -- cgit