[thelist] REGEX: Tip- A regex library
Oren Levin
lists at pinetree.net
Mon Jun 16 15:09:02 CDT 2003
Too bad all of the email regex examples fail RFC 822:
Per RFC 822 (http://www.w3.org/Protocols/rfc822/Overview.html), the
following email addresses are valid but would be trapped as invalid by this
code. Specifically, look at Appendix A
(http://www.w3.org/Protocols/rfc822/Overview.html#z10), section A.3.3.
"Some Silly User"@example.com
Another'User at example.com
Yet/Another/Wacky/User at example.com
Oren
-----
Oren Levin, Web Developer
olevin at audible.com, 973.837.2811
Give the gift of audio - http://www.audible.com/giftcenter
-----Original Message-----
<tip type="Regular Expression" author="Frank Marion">
This is too good to not add as a tip. Someone has put together a library of
regular expressions! Here are the general categories:
Email, Uri, Numbers, Strings, Dates and Times, Misc
http://www.regxlib.com/
How useful!
</tip>
--
Frank Marion lists at frankmarion.com Keep the signal high.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
Evolt.org conference in London, July 25-27 2003. Register today at
http://evolt.org.uk
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list