diff options
author | PatOnTheBack <51241310+PatOnTheBack@users.noreply.github.com> | 2019-06-25 20:16:24 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-26 02:16:24 +0200 |
commit | 5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff (patch) | |
tree | 37bb6dc779bdb21d4e4d1db16332749ea8e2d127 | |
parent | 07508b20457958fd193b02af2af62cf76ec64356 (diff) |
Removed extra pipes from regex. (#11181)
-rw-r--r-- | app/javascript/mastodon/features/emoji/emoji_mart_search_light.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js b/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js index 164fdcc0b..e4519a13e 100644 --- a/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js +++ b/app/javascript/mastodon/features/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) { |