How to get the "longest possible" match with Python's RE module?

Paddy paddy3118 at netscape.net
Tue Sep 12 01:01:23 EDT 2006


>
> I want to know if there is some way to make Python RE behave like grep
> does, or do I have to change to another engine?

Maybe if you posted a (tested) grep example and data, that does as you
want, the group could better understand what you are asking for?

- Paddy.




More information about the Python-list mailing list