Perform the same operation as sub(), but return a tuple (new_string, number_of_subs_made).
re.subn(pattern, repl, string, count=0, flags=0)