Hi,
On Wed, Jul 23, 2008 at 9:30 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
> Frank Martínez wrote:
>>
>> Will be general regexes supported only on path params or in the path
>> itself too?
>>
>> i.e. @Path(value="contents/.*/{number: \d+}"
>>
>
> Only on the path params, so you could do this:
>
> @Path("contents/{anon: .*}/{number: \d+}")
>
> we considered unnamed path params but concluded it easier that they should
> always be named. This enables us to easily retain the same order rules for
> path templates (number of params, number of literal characters).
>
Very good, because then maybe i can refactor the Automata matching
algorithm to support general regexes without changing the structure to
a graph.
> Paul.
>
>>> Paul.
>>>
>>> --
>>> | ? + ? = To question
>>> ----------------\
>>> Paul Sandoz
>>> x38109
>>> +33-4-76188109
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>>
>>
>>
>>
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>
--
Frank D. Martínez M.
Asimov Technologies Ltda.
Blog: http://www.ibstaff.net/fmartinez/