Theo,

I'm more or less a newbie to Perl, so can you explain why your form is 
better?  All I see is 2 distinct ways of selecting from a set.

Thanks,
Mike
Computer Support Specialist
Oklahoma State University Physical Plant CIS
109 PPA Building
Stillwater, OK  74078
(405) 744-6993

> On Thu, Nov 13, 2003 at 03:33:28PM -0600, Michael Howell wrote:
> > /(?:a|4|@)pp(?:l|1|!)(?:e|3)/i
> 
> ewww...  at least do:
> 
> /[EMAIL PROTECTED]/i
> 
> > This will catch "@pp!3" and "app13", but it also catches "apple".  Can
> > anyone help me work the regex so it skips the word if it's spelled
> > normally?
> 
> I think that's something like
> 
> /(?!apple)[EMAIL PROTECTED]/i
> 
> -- 
> Randomly Generated Tagline:
> "I'm a lesbian trapped in a man's body."      - W. Smith




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to