mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 05:55:29 +00:00
Fix hashtag regex
This commit is contained in:
parent
00825a76e9
commit
c158ce8517
|
@ -11,7 +11,7 @@ const
|
|||
usernameRegex = re"(^|[^A-z0-9_?\/])@([A-z0-9_]+)"
|
||||
picRegex = re"pic.twitter.com/[^ ]+"
|
||||
ellipsisRegex = re" ?…"
|
||||
hashtagRegex = re"([^\S])?([#$][A-z0-9]+)"
|
||||
hashtagRegex = re"([^\S]|^)([#$][A-z0-9]+)"
|
||||
ytRegex = re"(www.|m.)?youtu(be.com|.be)"
|
||||
twRegex = re"(www.|mobile.)?twitter.com"
|
||||
nbsp = $Rune(0x000A0)
|
||||
|
|
Loading…
Reference in a new issue