Python:正規表現の全行マッチを実行する 2020/05/16 プログラミング python regex 実装例 import re with open('/path/to/file') as f: # ファイルから全行を取得(str型) c = f.read() # … このエントリーを読む »