Removed extra pipes from regex. (#11181)

This commit is contained in:
PatOnTheBack authored and Eugen Rochko committed 2019-06-26 02:16:24 +02:00
1 parent 07508b2045
commit 5b20284f6f
1 file changed
+1 -1
@@ -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) {