Int methods (was RE: string.py)
Fredrik Lundh
effbot at telia.com
Mon Feb 21 15:13:37 EST 2000
Quinn Dunkan <quinn at pfennig.ugcs.caltech.edu> wrote:
> Beautiful! Move aside, "greedy matching", let's go change the re
> documentation to say "maximal munch".
does "munching" really involve backtracking?
(greedy matching means "match as much as possible, as
long as the rest of the expression matches the rest of the
target string". iirc, python's tokenizer doesn't backtrack).
</F>
More information about the Python-list
mailing list