luislavena / radix

Radix Tree implementation for Crystal
MIT License
102 stars 13 forks source link

Allows catch all to be used as optional globbing #13

Closed luislavena closed 7 years ago

luislavena commented 7 years ago

Catch all parameter was limited to be used after a slash (/) on a path (ie. /members/*trailing).

Attempts to use it immediately after the path (ie. /members*trailing) was not properly identified or captured.

This change ensures catch all can be used as globing allowing capture of anything after the matching path.

Closes #12