変換規則に指定されたルールをもとに入力テキストを変換します。変換規則は雰囲気で読んで下さい。
Array<{ pattern: string; replacement: string; next?: string }>