Pythonの `re` モジュールで、`re.sub(pattern, replacement, string)` 関数は何を行うか。

`re.sは文字列内のパターンに一致する部分を、指定された文字列(replacement)に置換する