[Tutor] Please look at my wordFrequency.py
alan.gauld at freenet.co.uk
Wed Oct 12 15:00:18 CEST 2005
> See Also:Mastering Regular Expressions Book on regular expressions by
> Jeffrey Friedl, published by O'Reilly. The second edition of the book no
> longer covers Python at all, but the first edition covered writing good
> regular expression patterns in great detail. "
> So I'd like to ask if there is agreement about the value of this book,
This is the bible of regular expressions, without peer.
> and if the 1st is really better that the 2nd ed. for regex in Python.
DEbateable, the second covers some more modern additions to the RE catalog
but misses Python out. The first inclyudes Python but misses the
Either edition is invaluable, you only need one so if you have the first
worry about getting the second IMHO.
> further information and a gentler presentation, consult the Regular
> Expression HOWTO, accessible from
If you want an even gentler intro - really an intro to the intro - look at
RE page on my tutorial. It covers the very basic concepts.
Author of the learn to program web tutor
More information about the Tutor