[Tutor] Continue Matching after First Match

Alan Gauld alan.gauld at btinternet.com
Sat May 19 09:30:50 CEST 2007


"Tom Tucker" <tktucker at gmail.com> wrote

> The below code snipet works as designed, however the regex matches 
> once and
> exits.  I want it to continue matching and printing until EOF.  Any
> suggestions?

Does re.findall() help?

Alan G. 




More information about the Tutor mailing list