mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-09-25 07:28:03 -05:00
PatternRecognizer.from_dict passes every ad_hoc_recognizers key straight to the constructor, so both reach the REST API, but neither appeared in the documented schema. global_regex_flags matters most: it defaults to 26 (DOTALL|MULTILINE|IGNORECASE), which makes every ad-hoc pattern case-insensitive unless a caller overrides it. Closes #1603