with respect to the documentation, the module is broken.

the module does not necessarily deliver a "minimal length" match for a
non-greedy pattern.


"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "lothar" wrote:
>
> > this is a bug and it needs to be fixed.
>
> it's not a bug, and it's not going to be "fixed".  search, findall,
finditer, sub,
> etc. all scan the target string from left to right, and process the first
location
> (or all locations) where the pattern matches.
>
> </F>
>
>
>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to