Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bad word censor in Java/AspectJ

Name: Anonymous 2009-01-20 5:41

Hey /prog/ can you help me out with this?

I am trying to make a filter for bad words using java/aspectj. Whenever a method has a System.out.println which includes a bad word I want it to be replaced with an equal amount of #s. For example System.out.println("You are a damn shiteater") should print out "You are a #### ####eater". All bad words are stored as strings on a list which I can access with getBadWords(). It shouldn't be case-sensitive either. I am really stuck with this one so I hope you can help.

Name: Anonymous 2009-01-21 17:25

>>80
☣ Please try to post ignore metatrolls! ☣

Name: Anonymous 2009-01-21 17:31

>>81
☣ Please don't try anything! ☣

Name: Anonymous 2009-01-21 17:34

>>82
☣ There is no try! ☣

Name: Anonymous 2009-01-21 18:02

☣ Please don't catch anything! ☣

Name: Anonymous 2009-01-21 21:14

>>83
Please don't quote Star Wars!

Name: Anonymous 2009-01-21 22:41

>>85
☯ Please don't star war quotes! ☯

Name: Anonymous 2010-12-28 13:12

Name: Anonymous 2011-11-27 2:47

Wonderful.. I will bookmark your blog and take the feeds also…I am satisfied to find so much useful info here in the post. Thank you for sharing. Vogue beautiful and popular dancing party full dress, you are worth owning.
http://www.hermeshandbagoutlet.com
http://www.handbagsdreams.com
http://www.backpackunion.com
http://www.charmhandbags.com
http://www.pursehandbag.org

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List