Re: rfc2822 compliant email pattern?

[email protected]
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
Dave Pawson scripsit:
> Is it possible to write a pattern for an email address please?
> 
> [email protected]
> [email protected]

It's a regex that takes up several pages.  See the book _Mastering Regular
Expressions_.  If you don't care about full RFC (2)822 generality, then
you can do a fair amount with ".*@.*\..*".

-- 
"There is no real going back.  Though I         John Cowan
may come to the Shire, it will not seem         [email protected]
the same; for I shall not be the same.          http://www.reutershealth.com
I am wounded with knife, sting, and tooth,      http://www.ccil.org/~cowan
and a long burden.  Where shall I find rest?"           --Frodo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.