redos and entropy.
ReDoS
redos analyzer uses known RegEx anti-patterns to determine if the target expression is potentially vulnerable to catastrophic backtracking.
Entropy
true if a metavariable has high entropy, or randomness, relative to the English language.