Query: regexp::common::email::address
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Regexp::Common::Email::Address(3pm) User Contributed Perl Documentation Regexp::Common::Email::Address(3pm)NAMERegexp::Common::Email::Address - Returns a pattern for Email AddressesSYNOPSISuse Regexp::Common qw[Email::Address]; use Email::Address; while (<>) { my (@found) = /($RE{Email}{Address})/g; my (@addrs) = map $_->address, Email::Address->parse("@found"); print "X-Addresses: ", join(", ", @addrs), " "; }DESCRIPTION$RE{Email}{Address} Provides a regex to match email addresses as defined by RFC 2822. Under "{-keep}", the entire match is kept as $1. If you want to parse that further then pass it to "Email::Address->parse()". Don't worry, it's fast.SEE ALSOEmail::Address, Regexp::Common, perl.AUTHORCasey West, <casey@geeknest.com>.COPYRIGHTCopyright (c) 2005 Casey West. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2005-01-06 Regexp::Common::Email::Address(3pm)
| Related Man Pages |
|---|
| email::date::format(3) - suse |
| email::date(3pm) - debian |
| email::send::io(3pm) - debian |
| email::sender::transport(3pm) - debian |
| email::thread(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| How can I do this in VI editor? |
| Introduction |
| Detecting unused variables... |
| One instance of comparing grep and awk |