earthquake changes of std.regexp to come

BCS ao at pathlink.com
Tue Feb 17 13:07:13 PST 2009


Reply to Jarrett,

> On Tue, Feb 17, 2009 at 3:30 PM, Daniel de Kok <me at danieldk.org>
> wrote:
> 
>> Hmmm, define "complex"
>> 
> \w+([\-+.]\w+)*@\w+([\-.]\w+)*\.\w+([\-.]\w+)*
> 
> This is a simple email regexp.  This takes about 4 or 5 seconds to
> compile on my lappy (Pentium M).
> 
> It only goes up from there.
> 

I wonder how well it would work on this:

http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html

:b





More information about the Digitalmars-d mailing list