GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  REGEXP::COMMON::EMAIL::ADDRESS (3)

.ds Aq ’

NAME

Regexp::Common::Email::Address - Returns a pattern for Email Addresses

CONTENTS

SYNOPSIS



  use 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),
            "\n";
  }



DESCRIPTION

CW$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 ALSO

Email::Address, Regexp::Common, perl.

AUTHOR

Casey West, <casey@geeknest.com>.

COPYRIGHT



  Copyright (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.



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REGEXP::COMMON::EMAIL::ADDRESS (3) 2005-01-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.