I am trying to build a Go regex filter on the phrase: "Kill yourself" for Twitch Streamers, however... I want to make it so it ignores the phrase if someone says "Don't Kill yourself" in the circumstance that the streamer is playing a video game.
Just trying to figure out the prefix to ignore the word "Don't" "dont" and "do not"
This is what I have so far:
\b(?i)kill (your+[\W_]*?self|ur+[\W_]*?self)\b
I know in the circumstance for the hyphenated characters in other languages to avoid those words getting hit I've done this:
[^Pok|se|jalape|chlo|caf](?i)(?:[Çéâêîôûàèùëïüáéíóúñńü¡¿èéìòùÂâÇçĞğÎîİıÖæöŞşÜüÛû₺ßĎ])(?i)
That way it ignores Jalapeńo and Pokémon. This doesn't seem to be the same with what I'm trying to do above