Skip to content
Snippets Groups Projects
Commit 5b20284f authored by PatOnTheBack's avatar PatOnTheBack Committed by Eugen Rochko
Browse files

Removed extra pipes from regex. (#11181)

parent 07508b20
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ function search(value, { emojisToShowFilter, maxResults, include, exclude, custo ...@@ -74,7 +74,7 @@ function search(value, { emojisToShowFilter, maxResults, include, exclude, custo
return [emojisList['-1']]; return [emojisList['-1']];
} }
let values = value.toLowerCase().split(/[\s|,|\-|_]+/), let values = value.toLowerCase().split(/[\s|,\-_]+/),
allResults = []; allResults = [];
if (values.length > 2) { if (values.length > 2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment