users@jsr311.java.net

RE: JAX-RS: _at_Path limited=false templates: (?!/).+(?<!/)

From: Manger, James H <James.H.Manger_at_team.telstra.com>
Date: Fri, 4 Jul 2008 17:18:35 +1000

Paul,

> (%20.%20.) rather than ( . .)
[I assume you meant regex ‘.’ instead of wildcard ‘?’]

Yes. I think that is a reasonable cost. If you want to specify a regex you have to take care of encoding yourself. In practice it is unlikely to be much of an issue as people will use character classes that accept lots, eg [^/;].