cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <>
Subject Regexp matcher with digits
Date Sat, 30 May 2009 06:26:53 GMT
I am trying to match a url that ends with digits. I tried this: 

<map:match type="regexp" pattern="\.*/[:digit:]*$">
             <map:transform src="transform.xsl">
                 <map:parameter name="href" value="{1}"/>
                 <map:parameter name="depth" value="{2}"/>

Then I tried:

<map:match type="regexp" pattern="\.*/[0-9]*$">

Nothing seems to be working. What's worng ? 

One more thing, I have seen some code for a sitemap using something like
{../2}, what is this ? I couldn't find any documentation.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message