Hi,

> On Thu, 21 Feb 2002, Arpi wrote:
> 
> > rawbody ASCII_FORM_ENTRY        /[^<][A-Za-z][A-Za-z]+.{1,15}?\s+_{30,}/
> >
> > could someone please explain what does [^<] matches ?
> > afaik ^ means beginning-of-line but it's strange in [] character array.
> > so, what does ^ mean there? begin-of-line or '^' character?
> 
> ^ inside a character class ([]) doesn't mean "beginning of line", it means
> -not-.
> 
> [^<] means "any character except '<'".

ah, thanks.
anyway, it explains why is this regexp so slow :(
it partially matches at every character position of text, and only at the
end (_{30,}) turns out that bad match...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to