crossroads.js
crossroads.js copied to clipboard
S1/:context: incorrectly matches S10
The pattern generated for S1/:context: is /^/?S1/?([^/?]+)?/?/?$/i which also matches S10. This route should match S1 and S1/abc but not S10 in my understanding.
Could someone have a look at this issue?
Best regards, Jiawei