On Sun, Jan 12, 2014 at 8:49 AM, Laurie Alvey <truk...@btinternet.com>wrote:

>
> I've noticed that not all of the regex patterns contain "&" (ampersand).
> According to Wikipaedia (and the standards mentioned therein), ampersands
> are allowed. Also, not all email servers have adopted the full standard
> (just bits that suit them) and so it seems a definitive pattern is probably
> impossible.


There are many patterns that cannot be correctly expressed in regular
expressions. This article does a fine job of pointing out that email
addresses are one of those things:

http://www.regular-expressions.info/email.html

Another place where regex shouldn't be used (but sadly often is) is HTML.
Arguably the best answer ever posted to Stack Overflow:

http://stackoverflow.com/a/1732454

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4tldvatxlnytryu7+r2tksrxhc0ajlq5v+j-nwkr5p...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to