cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: Regexp matcher with digits
Date Mon, 01 Jun 2009 18:45:26 GMT
Can someone kindly answer this question and give an example about how to
use regex and retrieve the matches. I am stuck with a project that's
writen in Cocoon and I need this to continue.


On Sun May 31,2009 01:54 am, Mansour Al Akeel wrote:
> Ok, let's clarify this and put it in different words. I am able to match
> on the digits part but not able to obtain this digits
> 
> <map:match  type="regexp" pattern="\.*/\d$"> 
>     ......
>     .....
>     <map:parameter name="href" value="{1}"/>
>     <map:parameter name="depth" value="{2}"/>
> 
> The variable {1} is matching and I can obtain as expected, but {2} is
> not.
> 
> 
> Can someone please share the knowledge and direct me to resolve this ? 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message