3chospirits / badwords-filter

An easy-to-use word filter with advanced detection techniques. A lightweight package with zero dependencies.
9 stars 2 forks source link

Does not catch certain things. #5

Open deide6102 opened 1 year ago

deide6102 commented 1 year ago

For some reason it isn't catching "badword!" when the filter includes "badword".

Not too sure what the issue is

3chospirits commented 1 year ago

issue is that i am converting the ! into a "i" as it is a frequent replacement to bypass filters. Will add additional combinations to check if ! is at end of word and to take it into consideration as a punctuation mark instead of a replacement for i