fix regex compiling
This commit is contained in:
parent
a86f4d4d96
commit
7cb91c8b08
|
@ -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]'
|
||||
|
|
Loading…
Reference in New Issue