This is one of those things where I\'m sure I\'m missing something simple, but... In the sample program below, I\'m trying to use Python\'s RE library to parse the string \"
try this if you really want to use match:
re.match(r'.*(\d+\.\d+)% done$', line)
r'...' is a "raw" string ignoring some escape sequences, which is a good practice to use with regexp in python. – kratenko (see comment below)