Mastering Regular Expressions 2nd Ed.
Peter Hansen
peter at engcorp.com
Tue Jul 23 22:11:58 EDT 2002
Neil Schemenauer wrote:
>
> Paul Rubin wrote:
> > Argggh! That sounds like regular expressions aren't really the best
> > way to match RFC822 addresses.
>
> Regular expressions work much better if you use them for lexical
> analysis rather than for parsing.
Would you please expand on that for those of us who are not computer
scientists and/or who do not understand the implications of your
statement?
Thanks,
-Peter
More information about the Python-list
mailing list