[Tutor] Python re without string consumption

Luke Paireepinart rabidpoobear at gmail.com
Thu Jan 25 08:52:51 CET 2007


>
> def searchall(expr, text, fall_back_len=0):
> [snip]
>
>         text = text[end-fallbacklen:]
oops, those look like two different variables to me.


More information about the Tutor mailing list