1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-23 00:27:30 +00:00

Try a new hashtag regex

Should catch foreign in /p/B0L-nGVoqJt
And emoji in /p/B8G_Hr4lclr
This commit is contained in:
Cadence Fish 2020-02-04 04:10:55 +13:00
parent 5ea59f6bf1
commit a87617cea8
No known key found for this signature in database
GPG Key ID: 81015DF9AA8607E1

View File

@ -43,7 +43,7 @@ let constants = {
timeline_fetch_first: 12, timeline_fetch_first: 12,
username_regex: "[\\w.]+", username_regex: "[\\w.]+",
shortcode_regex: "[\\w-]+", shortcode_regex: "[\\w-]+",
hashtag_regex: "[\\w]+" hashtag_regex: "[^ `~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+"
}, },
resources: { resources: {