AntiPattern

Regex Capture Staleness

regex-and-template-parsing-semantic-leakage

Regex and templating often leak unintended semantics when groups and delimiters are mis-specified: captured group text can persist across failed re-evaluations, trailing newlines create multiline output, and delimiter splitting misses edge positions, breaking downstream parsing and assertions.