We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a821c2 commit 84454b0Copy full SHA for 84454b0
src/utils/Search.js
@@ -24,7 +24,7 @@ const getDomainFromUrl = (url) => {
24
*/
25
const filterHelper = (compareStr, searchStr) => {
26
if (!compareStr) return false;
27
- const process = (input) => input?.toString().toLowerCase().replace(/[^\w\s]/gi, '');
+ const process = (input) => input?.toString().toLowerCase().replace(/[^\w\s\p{Alpha}]/giu, '');
28
return process(searchStr).split(/\s/).every(word => process(compareStr).includes(word));
29
};
30
0 commit comments