[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: dist-git help wanted: write me a regex!



On Mon, Dec 21, 2009 at 12:12:19 -0500,
  James Cassell <fedoraproject cyberpear com> wrote:
> On Mon, 21 Dec 2009 11:57:16 -0500, Garry Williams
> <gtwilliams gmail com> wrote:
> 
> >
> >"The grammar described in RFC 822 is surprisingly complex."
> >http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html
> 
> yeah, no kidding, and so is a proper regex to match it.  I figured
> anything not a space or '@' followed by '@' followed by anything not
> a space, '@', or '>' should catch most cases.

People aren't really using valid rfc822 addresses there anyway and you
want liberal matching.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]