diff options
author | PatOnTheBack <51241310+PatOnTheBack@users.noreply.github.com> | 2019-06-25 20:16:24 -0400 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-22 01:47:47 -0600 |
commit | 794db81fa881b8157587ac91b62cfc9abe112d3b (patch) | |
tree | 3eb204bd6c4ea9aa15c4025718eac80b248d59f8 /app/javascript/flavours | |
parent | dbf7cb7e39e2c6b073ed920a91cbf10bc92b6028 (diff) |
[Glitch] Removed extra pipes from regex.
Port 5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js b/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js index 164fdcc0b..e4519a13e 100644 --- a/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js +++ b/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js @@ -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) { |