On 5/4/2009 11:03 AM Alan Gauld said...
"Alex Feddor" <alex.fed...@gmail.com> wrote

I am looking for method enables advanced text string search. Method
string.find() or re module seems no supporting what I am looking for. The
idea is as follows:

The re module almost certainly can do what you want but regex
are notoriously hard to master and often obscure.

Seconded. I almost always find it faster and easier to simply write the python routine I need rather than suffer the pain that results from getting the regex to actually perform what's needed ...

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to