Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Simple e-mail validation

by Theo (Priest)
on Jun 04, 2004 at 14:48 UTC ( #360917=note: print w/ replies, xml ) Need Help??


in reply to Simple e-mail validation

Your regexp looks like it includes spaces as valid characters.

-Theo-
(so many nodes and so little time ... )


Comment on Re: Simple e-mail validation
Re: Simple e-mail validation
by Abigail-II (Bishop) on Jun 04, 2004 at 15:09 UTC
    Sounds like a good thing to me! Spaces are allowed in email addresses. Any regexp that doesn't allow for spaces won't be correct.

    Abigail

      Well, slap me silly! I've never seen that!
      Are there some systems that disallow spaces? (trying to figure out where I got that idea...)

      Update: Thanks, Abigail.

      -Theo-
      (so many nodes and so little time ... )

        Are there some systems that disallow spaces?
        Any MTA that doesn't allow sending mail with addresses that contain spaces is not RFC compliant. But every site is free to decide what its policy is for creating email addresses. A site could decide to only allow vowels, or forbid letters or spaces in email addresses.

        Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://360917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-09-01 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (11 votes), past polls