regexparam
regexparam copied to clipboard
Routes with trailing slashes should be parsed as different to routes without
Please see https://github.com/lukeed/trouter/issues/25
The issue stems from \/? being matched at the end of all patterns in regexparam: https://github.com/aral/regexparam/blob/master/src/index.js#L28