Commit graph

3 commits

Author SHA1 Message Date
Luke Young
97210dcaa5
fix(deepseek): improve kingfisher.deepseek.1 regex
Refactor regex pattern for DeepSeek API Key rule.

Signed-off-by: Luke Young <bored-engineer@users.noreply.github.com>
2026-01-30 15:08:24 -08:00
Mick Grove
c0e4910d1f pattern_requirements for rules — Post-regex character-class gating to cut false positives without lookarounds. Authors can now require minimum counts of digits, uppercase, lowercase, and special characters, with an optional custom special-char set.
Why: Hyperscan doesn’t support lookaheads/behinds, so many “must contain X and Y” checks had to be baked into the regex (hurting readability) or were impossible. pattern_requirements applies lightweight, in-memory checks after a match is found, keeping patterns fast and clean.
2025-11-04 13:55:31 -05:00
Mick Grove
65de1b0290 added rules for deepseek, xai. Removed branding. Added a NOTICE file 2025-06-30 17:04:29 -07:00