pub fn detect_pii(ocr_regions: &[OcrRegion]) -> Result<Vec<PiiMatch>>Expand description
Detect PII in OCR-extracted word regions.
Concatenates all region text into one string (tracking each word’s byte offsets), runs each regex against the full text, then unions the bounding boxes of every word that overlaps each match.