From a87617cea83cfa73342f674006b71f2ca128c006 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Tue, 4 Feb 2020 04:10:55 +1300 Subject: [PATCH] Try a new hashtag regex Should catch foreign in /p/B0L-nGVoqJt And emoji in /p/B8G_Hr4lclr --- src/lib/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants.js b/src/lib/constants.js index ede850e..05acec0 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -43,7 +43,7 @@ let constants = { timeline_fetch_first: 12, username_regex: "[\\w.]+", shortcode_regex: "[\\w-]+", - hashtag_regex: "[\\w]+" + hashtag_regex: "[^ `~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+" }, resources: {