fix regex compiling
This commit is contained in:
parent
a86f4d4d96
commit
7cb91c8b08
1 changed files with 1 additions and 1 deletions
|
@ -2489,7 +2489,7 @@ class Interface:
|
||||||
self.emot_and_basic = basic_pattern + emoticons_pattern
|
self.emot_and_basic = basic_pattern + emoticons_pattern
|
||||||
|
|
||||||
# at least one character in 3 parts (before @, after @, after .)
|
# 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
|
# Invalid XML chars
|
||||||
self.invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ud800-\udfff]|[\ufffe-\uffff]'
|
self.invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ud800-\udfff]|[\ufffe-\uffff]'
|
||||||
|
|
Loading…
Add table
Reference in a new issue