pillarjs/path-match

Does it support splats ?

Raynos opened this issue · 12 comments

routes.js and express have a feature called splats ( https://github.com/aaronblohowiak/routes.js#path-formats ).

Does path-match support this or something similar to it ?

i think the latest path-to-regexp does (which this uses, unlike express 4). can someone verify :)?

One of the things I care about is being able to do an anonymous * without having to give it a name.

I guess I'll have to go add a bunch of tests to path-to-regexp.

i think it was removed because of an implementation issue. also created ambiguities between * outside and inside the regexp. yeah just create issues in that repo.

yea. no one says this is the absolute best implementation :) always room to grow!

Pillarjs? Needs a good logo! Oh Yea.. Nothing to do with this issue hahahaha

Pillarjs? Needs a good logo!

yea. @mikermcneil offered to try and help us out there :)

Unrelated, but since this issue is still open; is the cred to segmentio in license file for this repo correct?

@jonathanong where did that copyright come from in the LICENSE? is it correct or a mistake?

made this module while working on some stuff for segment so i just put their name on it

k, then in general sounds legit to me :)