Closed eltoder closed 1 week ago
It applies to many innocent words like "duck", "dock", "deck", etc.
.setMetadata({ originalWord: 'dick' }) .addPattern((0, Pattern_1.pattern) `d?ck|`) .addPattern((0, Pattern_1.pattern) `d?cke[e]s|`) .addPattern((0, Pattern_1.pattern) `d?cks|`)
I think this matches all of the above, even though it should not.
No response
v20
v0.4.0
I'll get a patch release in today with the above fix. Thanks.
Thanks! I made exactly the same change locally, so no need to rush.
Expected behavior
It applies to many innocent words like "duck", "dock", "deck", etc.
Actual behavior
I think this matches all of the above, even though it should not.
Minimal reproducible example
No response
Steps to reproduce
No response
Additional context
No response
Node.js version
v20
Obscenity version
v0.4.0
Priority
Terms