How to use the match function from fuzzy
Find comprehensive JavaScript fuzzy.match code examples handpicked from public code repositorys.
GitHub: EMIIA/www.emiia.ru
5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088
}); }; // Does `pattern` fuzzy match `string`? fuzzy.test = function(pattern, string) { return fuzzy.match(pattern, string) !== null; }; // If `pattern` matches `string`, wrap each matching character // in `opts.pre` and `opts.post`. If no match, return null
0
2
2
+ 7 other calls in file
fuzzy.filter is the most popular function in fuzzy (31 examples)