Expand description
Re-export of injection-detection patterns from zeph-common for backwards compatibility.
The canonical definitions have moved to zeph_common::patterns. Callers that already
import from zeph_tools::patterns continue to work without changes.
Constants§
- RAW_
INJECTION_ PATTERNS - Raw (name, regex pattern) pairs for prompt-injection detection.
- RAW_
RESPONSE_ PATTERNS - Patterns for scanning LLM output (response verification layer).
Functions§
- strip_
format_ chars - Strip Unicode format (Cf) characters and ASCII control characters (except tab/newline)
from
textbefore injection pattern matching.