• INADA Naoki's avatar
    bpo-31677: email: Remove re.IGNORECASE flag (GH-3868) · bf477a99
    INADA Naoki yazdı
    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.
    bf477a99