This is not the correct way to use it. `replace_patterns` requires a list of tuples `(pattern, repl)` used by `re.sub`