Frank Martínez wrote:
> 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.
>
I guessed that might be the motivation behind your question :-)
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109