Re: NOT matching e-mail addresses

2004-03-28 Thread WC -Sx- Jones
In the venue of answering my own posts - WC -Sx- Jones wrote: That should be: /\<(?:[!gjyz]\w*(?!\@).*|k\w{3,})\>/ After more tests I ended up with: /\<(?!\!doctype)(?!.*@)(?:[!gjyz].*|k\w{3,})\>/ Thx to Tom and Nathan's excellent book: The Perl Cookbook pg 201. ISBN: 1-56592-243-3 $39.95 USD -

Re: NOT matching e-mail addresses

2004-03-28 Thread WC -Sx- Jones
Correction (minor) - WC -Sx- Jones wrote: /<(?:[!gjyz]\w*(?!\@).*|k\w{3,})\>/ That should be: /\<(?:[!gjyz]\w*(?!\@).*|k\w{3,})\>/ And yes, I know it doesn't work as I would have hoped... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

NOT matching e-mail addresses

2004-03-28 Thread WC -Sx- Jones
I am working on a Postfix server which uses PCRE to perform certain checks on both the headers and bodies of the e-mails which travels thru the system. I have this version thus far for a particular check: /<(?:[!gjyz]\w*(?!\@).*|k\w{3,})\>/ (I don't want to match e-mail addresses in the form of -