[mdlug] spamassassin regex decoded?

Flavio daCosta flav at binaryservice.com
Tue Oct 16 07:44:46 EDT 2007


On 10/10/2007 06:06 PM, Dean Durant wrote:
> Subject =~
> /[s5][e3\xE8-\xEB]x[u\xB5\xF9-\xFC][a4\xE0-\xE6@][l!|1](?:[l!|1]y)?.{0,3}[e3\xE8-\xEB]xp[l!|1][i1!|l\xEC-\xEF]c[i1!|l\xEC-\xEF]t/i

"Subject indicates sexually-explicit content"

They are just perl regular expressions.  ! in this case is a literal
exclamation point. "/i" is the closing delimiter and case insensitive
flag.  \x represents a hexadecimal number (in this case representing
Unicode code points)  And yes, this is trying to get permeations of
leetspeak for the text "sexually explicit".


s [s5]
e [e3\xE8-\xEB]
x
u [u\xB5\xF9-\xFC]
a [a4\xE0-\xE6@]
lly [l!|1](?:[l!|1]y)?
    .{0,3}
e [e3\xE8-\xEB]
xp
l [l!|1]
i [i1!|l\xEC-\xEF]
c
i [i1!|l\xEC-\xEF]
t



More information about the mdlug mailing list