• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Validating email address -- What are the allowed chars?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating email address -- What are the allowed chars?


  • Subject: Re: Validating email address -- What are the allowed chars?
  • From: Bernardo Höhl <email@hidden>
  • Date: Sun, 4 Dec 2005 12:48:08 -0200

Hi all,


I am still confused from what are the allowed chars in an email address.

Your function, apparently allow for the percentage sign, "%".

But this site http://www.remote.org/jochen/mail/info/chars.html, says it shouldn't be allowed...

RFC822 allows for spaces, as long are the are double quoted. Have you guys ever seen such email strings around?

Bernardo

====================
On Dec 3, 2005, at 4:44 PM, Randal L. Schwartz wrote:

"Doug" == Doug McNutt <email@hidden> writes:


Doug> I am really surprised to see [A-Z0-9._%-] where I would expect to see
Doug> [A-Za-z0-9\._%-].


Doug> Case sensitivity and use of the . (period) to match anything are the
Doug> rules I have learned. Is AppleScript or an extension thereto
Doug> different? Is it a unicode thing?


"." is not a wildcard within a character class.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<email@hidden> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40correiofacil.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Validating email address -- What are the allowed chars?
      • From: email@hidden (Randal L. Schwartz)
References: 
 >Fwd: Validating email address (From: Michael Ghilissen <email@hidden>)
 >Re: Validating email address (From: Bernardo Höhl <email@hidden>)
 >Re: Validating email address (From: Doug McNutt <email@hidden>)
 >Re: Validating email address (From: email@hidden (Randal L. Schwartz))

  • Prev by Date: Re: Convert URL to text?
  • Next by Date: Re: XCode 2 Applescript app won't launch on 10.2.8
  • Previous by thread: Re: Validating email address
  • Next by thread: Re: Validating email address -- What are the allowed chars?
  • Index(es):
    • Date
    • Thread