mirror of https://gitlab.com/bashrc2/epicyon
More checks
parent
496e37bc91
commit
2e6fe854f8
|
@ -389,6 +389,8 @@ def validHashTag(hashtag: str) -> bool:
|
|||
'ŴŵÝýŸÿŶŷŹźŽžŻż')
|
||||
if set(hashtag).issubset(validChars):
|
||||
return True
|
||||
if '#' in hashtag or '"' in hashtag or '&' in hashtag:
|
||||
return False
|
||||
if isValidLanguage(hashtag):
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue