how to replace the first occurrence of a regular expression in python?,"re.sub('foo', 'bar', s, 1)"