Concerning Regular Expressions

Tempo bradfordh at gmail.com
Mon Jan 30 05:33:34 CET 2006


Whoops. I've got another tid-bit to tack onto this post. What kind of
value does this expression return:

re.sub(r'^R0 -', line)


Does it return a '1' if successful and a '0' if not successful?




More information about the Python-list mailing list