damnhandy / Handy-URI-Templates

A Java URI Template processor implementing RFC6570
https://damnhandy.github.io/Handy-URI-Templates/
Other
203 stars 37 forks source link

Expose regex pattern #36

Closed testn closed 9 years ago

testn commented 9 years ago

It would be nice to expose the pattern that URI template used internally so that developers can use it to perform the URI matching as well as extracting parameter from the template without relying on URI template afterwards.

damnhandy commented 9 years ago

Can't do that, mainly because this library doesn't use RegEx to parse the URI template string, so there is nothing to expose. However, this feature is being worked on as part issue #2