kopia lustrzana https://github.com/tsileo/little-boxes
Fix hashtag parsing
rodzic
18b357c039
commit
b7d63f2302
|
@ -19,7 +19,7 @@ def _set_attrs(attrs, new=False):
|
|||
|
||||
|
||||
LINKER = Linker(callbacks=[_set_attrs])
|
||||
HASHTAG_REGEX = re.compile(r"(#[\d\w\.]+)")
|
||||
HASHTAG_REGEX = re.compile(r"(#[\d\w]+)")
|
||||
MENTION_REGEX = re.compile(r"@[\d\w_.+-]+@[\d\w-]+\.[\d\w\-.]+")
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue