[ale] Code/logic collection question

Thompson Freeman tfreeman at intel.digichem.net
Mon Apr 23 18:56:44 EDT 2001



BINGO! I _knew_ perl could handle the collection - but not how.

BTW - what is the regular expression for a valid email address? I'm afraid
it was beating me up under grep.

On Mon, 23 Apr 2001 greg at turnstep.com wrote:

> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Quick and dirty: you'll probably want to manually pick out 
> some addresses, but it works:
> 
> perl -ne 'print "$1\n" if /(\w+@\w+\.\w+)/' pinefile | sort -u
> 
> The actual regular expression to search for valid 
> email addresses is horribly long*, but this should 
> do it for you. And it's all command line. :)
> 
> Greg Sabino Mullane
> greg at turnstep.com
> PGP Key: 0x14964AC8 200104231642
> 
> *http://public.yahoo.com/~jfriedl/regex/email-opt.pl
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Comment: http://www.turnstep.com/pgp.html
> 
> iQA/AwUBOuSUiLybkGcUlkrIEQKrAwCePHZO93ZRzjFVmzVWtAZxRjft0FUAn3wy
> L3RDBgZXuGxtbhJxJPgoQwn8
> =ArCg
> -----END PGP SIGNATURE-----
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

-- 
===========================================
The harder I work, the luckier I get.
                    Lee Iacocca
===========================================
Thompson Freeman          tfreeman at intel.digichem.net

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list