users@jsr311.java.net

Re: Dealing with Matrix parameters

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 24 Nov 2008 10:50:21 -0500

On Nov 24, 2008, at 7:58 AM, Sergey Beryozkin wrote:
>
> I honestly find it hard to understand. Where does the spec says that
> say
> @Path("base/{tail}") needs to get replaced with something like
>
> base(/.*)/([^ /]+?)(/.*)?
>
> as opposed to
>
> base/([^ /]+?)(/.*)?
>
Section 3.7.3 defines how to convert a URI template into a regex.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.