lukeed/regexparam

Support for named wildcards

Closed this issue · 1 comments

Hey @lukeed

Thanks for the great module. I just wanted to say it would be great to have support for named wildcards.

So for example

@/:*branch/~/:*id

Right now it names both of them as wild, so the first one would get overtwriten

lukeed commented

That’s because of the asterisks. Drop them and you’ll have named parameters:

/:branch/~/:id