You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mansour Al Akeel <ma...@gmail.com> on 2009/05/30 08:26:53 UTC
Regexp matcher with digits
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}"/>
</map:transform>
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org