Waclaw,
See
https://java.net/jira/browse/JAX_RS_SPEC-463 for a related bug report.
The current regex definitely seems wrong.
Gili
On 28/01/2015 5:37 AM, Waclaw Kusnierczyk wrote:
> In sec. 3.1.1 of
> https://jersey.java.net/documentation/latest/jaxrs-resources.html, you
> state that the default regular expression for path variables is
> "[^/]+?". This seems wrong. I assume what you mean is "one or more
> non-slash characters"; what the above says, is "one or more non-slash
> characters, but as few as possible"---effectively, just one non-slash
> character. Didn't you mean "[^/]+"?
>
> Best,
> Wacek