RE: Custom Rules Question SOLVED(ish)

2010-03-02 Thread Michael Dilworth
The problem was multiline rules with rawbody. Changing it to full and things work. (I missed that little detail in the wiki, and there are body rules in the dist that have /is) Request A rule in-between rawbody/full? I.e. the whole body, but not the headers? Or even better, in addition to

Re: Custom Rules Question

2010-03-01 Thread Todd Adamson
Because your first option matches the style inside the brackets and your second option does take into account the forward slash before style? Todd Michael Dilworth wrote: OK, it's late and I'm tired, and this will probably end up being stupid regex issue, but: why does... rawbody

Re: Custom Rules Question

2010-02-28 Thread Kai Schaetzl
Michael Dilworth wrote on Sat, 27 Feb 2010 18:45:20 -0800: rawbody STYLE_IN_BODY /\body\.*\style\/si not match? because the HTML doesn't contain style? Maybe you wanted: rawbody STYLE_IN_BODY /\body\.*\style.*\/si Also, you don't have to escape the angle brackets, just makes the expression

Re: Custom Rules Question

2010-02-28 Thread John Hardin
On Sat, 27 Feb 2010, Michael Dilworth wrote: style garbage... /style If you're looking for nonsense STYLE content, take a look in my sandbox. -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org key:

Custom Rules Question

2010-02-27 Thread Michael Dilworth
OK, it's late and I'm tired, and this will probably end up being stupid regex issue, but: why does... rawbody STYLE_IN_BODY /\body\.*style/si match and: rawbody STYLE_IN_BODY /\body\.*\style\/si not match? given a message body: htmlhead ... /headbody ... style garbage... /style ... /body