Skip to content

Doesn't handle partial matches correctly #2

@marcejohnson

Description

@marcejohnson

If you give this filter something like "class analysis" it will flag both words as bad (since they contain "ass" and "anal").

Recommend this fix unless someone has a better idea:

exp = '(%s)' %'\\b|\\b'.join(self.bad_words)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions