Compile a string to regex, I and UNICODE.
(regex: str)
| 681 | |
| 682 | |
| 683 | def _re_compile(regex: str) -> re.Pattern[Any]: |
| 684 | """Compile a string to regex, I and UNICODE.""" |
| 685 | |
| 686 | return re.compile(regex, re.I | re.UNICODE) |
| 687 | |
| 688 | |
| 689 | def _strip_values(values: Sequence[str]) -> list[str]: |
no test coverage detected