You need to use "rawbody" to get the html tags before thay are stripped.

-Chase

-----Original Message-----
From: Matthias Keller [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: Regexp for rule matching over several lines?


Hi

I'm currently writing some rules I hope I'll be able to contribute to 
coding_html once they're finished based on several html tricks I'm 
seeing here frequently.
But I'm struggling with some rules that should be able to match over 
several lines what doesn't seem to work.....
For example:
/\<\/html\>\s*.{5,}/i
I want to catch mails having at least 5 characters after the closing 
</html>, some preceding newlines and stuff not counted...
(I know that rule needs a lot of finetuning not to catch boundaries and 
stuff but I'm using this easy regexp for my education :D  )

So what do I have to change that this one catches all those mails having 
something after </html> ?  I understand the period does NOT catch 
newlines, but  \s  should actually - i guess...?

But this one didn't trigger a testmail so .... ?

Thanks

Matt



Reply via email to