Thanks for the precision Chris. Indeed Restlet's URI templates are still Java Regex.
Best regards, Jerome > -----Message d'origine----- > De : Chris Grindstaff [mailto:[EMAIL PROTECTED] > Envoyé : lundi 4 décembre 2006 17:36 > À : Jerome Louvel > Objet : Re: URI Template patterns > > Saturday, December 2, 2006, 7:11:20 AM, you wrote: > > > JL> Hi Chris, > > JL> The choice made was not to match any delimiter character > (gen-delims or > JL> sub-delims). In your case, it is always possible to > change the pattern to > JL> "/place/{placeMain}+{placeSub}$". > > JL> The current URI Template draf doesn't specify how to > parse an URI based on a > JL> pattern, but I've submitted a related suggestion to the > author, they may > JL> consider it in a later release. > > I figured that was the case. > > If anyone wants to do something similar - since + is a meta char for > regex it needs to be escaped. > > "/place/{place1}\\+{place2}$" > > -Chris > -- > Chris Grindstaff | http://gstaff.org

