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

Support named capturing groups

Open ramiel opened this issue 4 years ago • 0 comments

If a route is defined through a RegExp, it should put into params any named capturing group. The name will be the key in the params object. This needs that the language supports named capturing group so we need to refer to https://github.com/tc39/proposal-regexp-named-groups/blob/master/README.md

ramiel avatar Sep 08 '19 09:09 ramiel