1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 23:09:18 +09:00

[Glitch] Removed extra pipes from regex.

Port 5b20284f6f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
PatOnTheBack 2019-06-25 20:16:24 -04:00 committed by Thibaut Girka
parent 5c3171e8ea
commit 383136d9bb

View File

@ -74,7 +74,7 @@ function search(value, { emojisToShowFilter, maxResults, include, exclude, custo
return [emojisList['-1']];
}
let values = value.toLowerCase().split(/[\s|,|\-|_]+/),
let values = value.toLowerCase().split(/[\s|,\-_]+/),
allResults = [];
if (values.length > 2) {