fix regex compiling

This commit is contained in:
Yann Leboulanger 2008-11-05 18:30:21 +00:00
parent a86f4d4d96
commit 7cb91c8b08
1 changed files with 1 additions and 1 deletions

View File

@ -2489,7 +2489,7 @@ class Interface:
self.emot_and_basic = basic_pattern + emoticons_pattern
# at least one character in 3 parts (before @, after @, after .)
self.sth_at_sth_dot_sth_re = r'\S+@\S+\.\S*[^\s)?]'
self.sth_at_sth_dot_sth = r'\S+@\S+\.\S*[^\s)?]'
# Invalid XML chars
self.invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ud800-\udfff]|[\ufffe-\uffff]'