Calculates a complexity score for a regex pattern. More complex features like lookarounds and groups increase the score.
The regex pattern string to analyze.
A numeric complexity score.
Calculates a complexity score for a regex pattern. More complex features like lookarounds and groups increase the score.