Skip to content

Commit

Permalink
fix: exclude parens from search name matching missive#962
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenquimby authored Nov 18, 2024
1 parent 16978d0 commit 4784d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/emoji-mart/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async function _init(props) {
if (!strings) return
return (Array.isArray(strings) ? strings : [strings])
.map((string) => {
return (split ? string.split(/[-|_|\s]+/) : [string]).map(
return (split ? string.split(/[-|_|\s()]+/) : [string]).map(
(s) => s.toLowerCase(),
)
})
Expand Down

0 comments on commit 4784d2e

Please sign in to comment.