On Feb 10, 2010, at 5:14 AM, geoffrey hendrey wrote:
>
> Hi Paul,
>
> Thanks for your response. I am presently using a regex to identify  
> the portions of the URL I want to replace. If I don't find the match  
> already in the URL then I create the path segment and append it to  
> the URL. The regex needs to be a bit pickier than the one you  
> provided, but thanks for providing one anyway. The regex I am using  
> is ("/page/([^/#;\\?]+)  because I do not want to blow away matrix  
> parmeters or query parameters. I just replace the content of the  
> capturing group when I find a match.
>
OK.
> "replace", for my needs, means replaceAll, though I think ideally  
> one would have the option to replace the first, last, or all.
>
> I am logging the issue.
Thanks,
> Thanks again for your response, and for all you are doing for  
> Jersey. It's really an amazing product.
>
Thanks for the kind words,
Paul.