python-cookbook
python-cookbook copied to clipboard
Page 48 2.7,Typo in Regex
should be re.compile(r'"(.*)"') because with r'...', backslashes will be remained so the findall should return [],The fix should be to delete the two backslashes.