2022-06-04 Python - re.sub()でタグの変換 Python 正規表現 マッチするグループを\1, \2 ...のように指定する。と、たとえば、$y = ax + b$の$タグのみ変更できる。 gist.github.com