Word Filter - Regex or words?

692 views
Skip to first unread message

melissa benson

unread,
Oct 16, 2012, 5:51:14 PM10/16/12
to k12ap...@googlegroups.com
All, I know that there are several posts about this but I thought I'd start a new thread in case google has made any changes or enhancements. What is everyone using for filtering?


Content Compliance or Objectionable Content - We're using CC
Modify email or Reject - We're Rejecting
Simple Content Match or Advanced - We're using Advanced
Matches RegEx or Matches Any Words (or something else) - I'm trying to decide


I've used regex with postini and was going to use the same format here but when I test the regex...really it's only filtering the exact word, I guess I'm not using any wildcards or anything. So adding in the code in between words is useless unless I'm using those functions of regex.

Now I'm thinking to use use "match any words". We are slimming down our bad word list (I see Eric Curts has a doc for that and some other districts, I'll go off of). I don't mind typing in variations of the words since we're slimming it down. If anyone has regex code that stop variations (like s's, ing's) that'd be nice too.

Anyways, that'd be great if you guys could let me know what kind of filtering you're doing- more specifically "regex" or "matches words". Thanks!!

melissa benson

unread,
Oct 19, 2012, 9:20:50 AM10/19/12
to k12ap...@googlegroups.com
Just an update in case anyone cares...I've decided to use regex. I've got a document here with a list of basic swear words, slimmed down from our old filters so we don't get false positives. What's powerful about regex is that you can catch a lot of different variations of the word for example: if you're filtering the word "pizza" the filter will catch pizza, pizzaaaaaaa, pizzzzz@, PIZZA!

I'm also filtering some phrases. We're not filtering some common words that could be legit in a class assignment so I've added phrases like "you're pizza" and use regex to include variations.

I also found out how to make the quarantine manager we wanted (thanks to Chris). Here is our modified set up:

-Content Compliance
-Matches any regex
-Modify Message/change envelope recipient and send it to quara...@isd271.org

This will change the recipient to my quarantine account and from there I can manage the emails. I'll use canned responses if we need to warn any students. Students and staff are gone today so not much activity but I'm hoping this set up will catch some offensive language/bullying but also not be too specific where I'll get tons of false positives.

Chris Franzen

unread,
Oct 19, 2012, 10:36:31 AM10/19/12
to melissa benson, k12ap...@googlegroups.com
Nice job and thanks for sharing your regex list!
--
Chris Franzen
Technology Coordinator Nokomis School District
511 Oberle St. | Nokomis, IL  62075
QR
Please consider the environment before printing this email.





--
You received this message because you are subscribed to the Google
Groups "Google Apps K12 Technical Forum" group.
To post to this group, send email to k12ap...@googlegroups.com
To unsubscribe from this group, send email to
k12appstech...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/k12appstech?hl=en?hl=en

Melissa Benson

unread,
Oct 19, 2012, 10:39:58 AM10/19/12
to Chris Franzen, k12ap...@googlegroups.com
Still working at perfecting the regex and adding a few more phrases. I just used another regex doc and then modified the regex, I really have no idea about them... I began to notice that some of the regex were filtering multiple words so I didn't have to use both regex. In the Content Compliance I added one rule for each word so if there are 2 regex for the same word I put a "|" in between them. I'm sure a regex expert could make it more efficient, but hey it works! It's nice, you can test it out when you set them up in your dash.
--
Melissa Benson
@mebenson
mebe...@gmail.com
www.melbenson.com
Reply all
Reply to author
Forward
0 new messages