#2268·presidio

PhoneRecognizer: analysis_explanation 可以报告一个从未与该号码匹配的区域

作者: feiiiiii5创建于 2026年9月18日更新于 2026年9月18日

Describe the bug

PhoneRecognizer can explain a detected phone number with the region of a different number in the same text. analyze() writes the parsed number's region back into the outer region loop variable, so every later match in that iteration is attributed to it.

内容来源: data-privacy-stack/presidio