view tests/unwrap-message-id.py @ 43661:32048206e7be

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Fri, 15 Nov 2019 22:22:55 +0900
parents 4128ffba4431
children a1908951ca42
line wrap: on
line source

from __future__ import absolute_import, print_function

import re
import sys

print(re.sub(r"(?<=Message-Id:) \n ", " ", sys.stdin.read()), end="")