3 ms·
You won't hit catastrophic backtracking problems with the types of regular expressions you need for routing. Even if you do use some very weird expression, the
by nikic 13y ago
You won't hit catastrophic backtracking problems with the types of regular expressions you need for routing.
Even if you do use some very weird expression, the worst that can happen is that you hit the backtracking limit and a route fails to match because of that. There won't be any code spinning indefinitely.