Mike Meyer wrote: > As I've suggested before, what's really needed is a short tutorial on > regular expressions in general. That page could include a definition > of terms that are unique to regular expressions, and the re package > documentation could link the word greedy to that definition.
You mean like http://www.amk.ca/python/howto/regex/ ? Which as I recall is already linked from the Python re docs. (Perhaps Xah's browser wasn't working that day...) And which, at least implicitly, defines "greedy" by in section 6.3 titled "Greedy versus Non-Greedy". It's not perfect, but then nobody in this thread has offered anything even remotely resembling perfect documentation for regular expressions yet. <wink> -Peter -- http://mail.python.org/mailman/listinfo/python-list