Expand description
Pattern detection for string values.
Uses lazy_static regexes for efficient pattern matching of common string formats like UUIDs, emails, dates, URLs, and IP addresses.
§Performance
- Pattern matching: ~100-500ns per string
- Regex compilation: Once at first use (lazy)
Functions§
- detect_
pattern - Detect pattern type from a string value.
- matches_
pattern - Check if a value matches a specific pattern.