Removed extra pipes from regex. (#11181)

lolsob-rspec
PatOnTheBack 2019-06-25 20:16:24 -04:00 committed by Eugen Rochko
parent 0474162ddb
commit 9a216634a1
1 changed files with 1 additions and 1 deletions

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) {