Open Tayvon opened 1 month ago
I would recommend you to check the readme. You can't specify routes as regexp directly.
In this sense, there is a bug: we should throw if we encounter one.
Checkout the readme.
Great, thank you.
After reading the README over a few times, i'm still unable to get past this error. I added in the allowUnsafeRegex
option, and the previous behavior remains.
Are you suggesting that regexp cant be used unless it's form adheres to the few examples outlined in the README?
What's the intuition behind not allowing a wildcard to exist in a regexp unless it's at the end of the expression?
What's the recommended way of dealing with this error?
Example paths: