Grep in Python

Kragen Sitaker kragen at pobox.com
Wed May 22 01:59:49 EDT 2002


coolslife at yahoo.com (coolslife) writes:
> I saw that lots of people have implemented their own version of grep
> and most have called it "pygrep". (Am I right about that?). Since this
> is a resource consuming activity,  does anyone have any idea what
> might be a optimum way to implement this?

See "NR-grep: A Fast and Flexible Pattern Matching Tool", by Gonzalo
Navarro, at http://www.dcc.uchile.cl/~gnavarro/ps/spe01.ps.gz for how
to search text fast.




More information about the Python-list mailing list