logoalt Hacker News

bink01/15/20262 repliesview on HN

As a security dude I spend way too much of my time fixing missing anchors or unescaped wildcards in regex. The good news is that it's trivial to detect with static analysis tooling. The bad news is that broken regex is often used for security checks.


Replies

SkiFire1301/16/2026

Sometimes I wish regexes were full matches by default and required prefixing and postfixing with `.*` to get the current behaviour

show 2 replies