Removed extra pipes from regex. (#11181)
parent
0474162ddb
commit
9a216634a1
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue