Questions about builtin RegExp

Walter Bright newshound at digitalmars.com
Sun Feb 19 02:36:11 PST 2006


"Andrew Fedoniouk" <news at terrainformatica.com> wrote in message 
news:dt87fd$314d$1 at digitaldaemon.com...
>
> "Walter Bright" <newshound at digitalmars.com> wrote in message 
> news:dt80n7$2qiu$3 at digitaldaemon.com...
>> Writing a real lexer takes a lot of effort. That's why people invented 
>> regex, it'll handle most jobs without having to write a lexer. C's 
>> strtok() is embarassingly inadequate.
>
> Why?

I'd like to see strtok() parse an email address out of a body of text. 





More information about the Digitalmars-d mailing list