[docs] [issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE