bpo-31677: email: Remove re.IGNORECASE flag (GH-3868)
While there is not real bug in this case, using re.IGNORECASE without re.ASCII leads unexpected behavior. Instead of adding re.ASCII, this commit removes re.IGNORECASE flag because it's easier and simpler. This commit removes dead copy of the pattern in email.util module too. While the pattern is same, it is compiled separately because it had different flags.
I
INADA Naoki committed
bf477a99e0c85258e6573f4ee9eda68fa1f98a31
Parent: e2d0dd2
Committed by GitHub <noreply@github.com>
on 10/4/2017, 3:47:38 AM