Something confusing about non-greedy reg exp match

r rt8396 at gmail.com
Sun Sep 6 23:07:23 EDT 2009


EDIT:
 your regex matches the whole string because it means...

"hello" followed by any number of *anythings* up to the first
occurrence of "money")

you see?





More information about the Python-list mailing list