Open verekia opened 3 days ago
I cannot reproduce the described error.
const dataset = new DataSet()
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'coño' }).addPattern(pattern`coño`))
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'pédé' }).addPattern(pattern`pédé`));
console.log(new RegExpMatcher(dataset.build()).hasMatch('coño'));
prints true
for me, as expected. Can you provide a MRE?
Description
causes:
Solution
Add support for accented characters.
According to the suggestions of my Mac keyboard long-presses:
w: ŵ e: èéêëěẽēėę r: ř t: țťþ y: ýŷÿ u: ùúûüǔũūűůu i: ìíîïǐĩīıį o: òóôöǒœøõō a: àáâäǎæãåā s: ßşșśš d: ďð g: ğġ h: ħ k: ķ l: łļľ z: źžż c: çćčċ n: ñńņň
Code of Conduct