Slightly more accurately, ^ as the *first* character inside [] means not. Later in the [] it means ^
C On Thu, 2002-02-21 at 10:42, Charlie Watts wrote: > 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 '<'". > > -- > Charlie Watts > [EMAIL PROTECTED] > Frontier Internet, Inc. > http://www.frontier.net/ > > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk