Shattered Kingdoms
https://shatteredkingdoms.com/forums/

Inappropriate Words Regex Replace
https://shatteredkingdoms.com/forums/viewtopic.php?f=26&t=23829
Page 1 of 2

Author:  three_sixteen [ Thu May 09, 2013 9:53 am ]
Post subject:  Inappropriate Words Regex Replace

For the love of christ, can we please fix this to replace curse words with words that make contextual sense?

Author:  Rodwen [ Thu May 09, 2013 9:56 am ]
Post subject:  Re: Inappropriate Words Regex Replace

What the [REDACTED] are you talking about, Gladis?

Author:  three_sixteen [ Thu May 09, 2013 9:59 am ]
Post subject:  Re: Inappropriate Words Regex Replace

You are a son of a [REDACTED] if you think I [REDACTED] care what you say, you dumb [REDACTED].

Author:  three_sixteen [ Thu May 09, 2013 9:59 am ]
Post subject:  Re: Inappropriate Words Regex Replace

I think I've made my point :)

Author:  Rodwen [ Thu May 09, 2013 10:00 am ]
Post subject:  Re: Inappropriate Words Regex Replace

"Rear" is probably the best filtered word, actually.

Author:  three_sixteen [ Thu May 09, 2013 10:00 am ]
Post subject:  Re: Inappropriate Words Regex Replace

Rodwen wrote:
"Rear" is probably the best filtered word, actually.


Yeah, I agree.

Author:  three_sixteen [ Thu May 09, 2013 10:01 am ]
Post subject:  Re: Inappropriate Words Regex Replace

What the [REDACTED], this text replace is [REDACTED] confusing.

Author:  Rodwen [ Thu May 09, 2013 10:06 am ]
Post subject:  Re: Inappropriate Words Regex Replace

three_sixteen wrote:
What the [REMOVED], this text replace is [REMOVED] confusing.

In all reality, the filter doesn't do it's job in the end, anyway. Anyone can figure out with context clues what each filtered word means, and after that happens, they just replace the curse word back in. I wouldn't be opposed to every word that is filtered getting [REMOVED].

See quote for example.

Author:  three_sixteen [ Thu May 09, 2013 10:10 am ]
Post subject:  Re: Inappropriate Words Regex Replace

Rodwen wrote:
three_sixteen wrote:
What the [REMOVED], this text replace is [REMOVED] confusing.

In all reality, the filter doesn't do it's job in the end, anyway. Anyone can figure out with context clues what each filtered word means, and after that happens, they just replace the curse word back in. I wouldn't be opposed to every word that is filtered getting [REMOVED].

See quote for example.


I could get behind that, I feel like it would make the most sense.

I think [REDACTED] could be replaced with guano though, and [REDACTED] could maybe be replaced by unlikable person.

Author:  Rodwen [ Thu May 09, 2013 10:10 am ]
Post subject:  Re: Inappropriate Words Regex Replace

Just found a huge list of bad words that could be filtered. It comes complete with a SQL script to insert each word into a database table with columns "id", "word", and "replacement". It can be downloaded here.

Page 1 of 2 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/