2 ms·
The path is preferred to the Regex, and I hope that no developer is using user input to create a route here. As specified in substack's safe-regex: > WARNING:
by franciscop 10y ago
The path is preferred to the Regex, and I hope that no developer is using user input to create a route here. As specified in substack's safe-regex:
> WARNING: This module merely seems to work given all the catastrophic regular expressions I could find scouring the internet, but I don't have enough of a background in automata to be absolutely sure that this module will catch all exponential-time cases.
I also don't have it and I think the case for this error is so contrieved that it doesn't make sense to add a check in pagex. So adding a couple of warnings, one for not trusting user input and another for this specific error, should be fine.