Concerning Regular Expressions

Tempo bradfordh at gmail.com
Sun Jan 29 23:33:34 EST 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