http://bugzilla.spamassassin.org/show_bug.cgi?id=3825





------- Additional Comments From [EMAIL PROTECTED]  2004-09-27 19:11 -------
Subject: Re:  Unescaped '#' in rawbody causes havoc

On Mon, Sep 27, 2004 at 06:35:20PM -0700, [EMAIL PROTECTED] wrote:
> I think I' be a lot happier with a more complex rule for rule extraction:
> 
>     s/^(\w+\s+\w+\s+m?(.)[^\2]+\2)/\1/

Yeah, I tried coming up with something earlier... It's not so easy.

Here's valid stuff not accepted by your RE:

/\//
m{foo}
m(foo)
m[foo]
m[f[o]{2}]

Also, (.) is only required if m is there, if it's optional then you only want
to match / ...

The easiest thing I came up with is to take what is supposed to be an RE, and
shove into eval{} ...  Otherwise there's a billion ways to screw around and
make this still not work:

/foo/bar/

for instance.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to