pub fn entries_to_patterns(entries: &[SecretEntry]) -> PatternCompileResultExpand description
Convert parsed SecretEntrys into compiled ScanPatterns.
Entries with kind: allow are silently skipped — they are handled by
extract_allow_patterns instead.
Invalid entries (e.g. bad regex) are collected as errors and returned alongside the successfully compiled patterns.