Re: rfc2822 compliant email pattern?
Dave Pawson <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
At 19:19 16/01/2004, [email protected] wrote: >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_. Mmm. :-) > If you don't care about full RFC (2)822 generality, then >you can do a fair amount with ".*@.*\..*". I'm getting a little more than that so far, but it sure ain't several pages...yet. Thanks. DaveP