crossroads.js icon indicating copy to clipboard operation
crossroads.js copied to clipboard

S1/:context: incorrectly matches S10

Open divyeshjain opened this issue 9 years ago • 1 comments

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.

divyeshjain avatar Sep 11 '15 16:09 divyeshjain

Could someone have a look at this issue?

Best regards, Jiawei

stopcoder avatar Jun 16 '16 11:06 stopcoder