A rule written as a regular expression can pass every test anyone thought to write and still take exponential time on one unlucky input, because a backtracking engine tries an exponential number of paths before it gives up. Reading the pattern does not tell you which inputs do it.
What people are trying
- Regular expression Denial of Service - ReDoS · OWASP Foundation · read 09/19/2026
may reach extreme situations that cause them to work very slowly (exponentially related to input size)
Where it bites: When not to use a model