Regular expression intricacies: why do REs skip some matches?

John Machin sjmachin at lexicon.net
Tue Apr 11 19:16:12 EDT 2006


It's nothing to do with how/what a regular expression matches. It's all
to do with the definition of whatever convenience methods like
findall() that have been built on top of the basic match() method --
having found a match, where do they start looking for the next match?
Typically, one does not want overlapping matches.




More information about the Python-list mailing list