Hi,

I cannot find any examples for using regular expressions in a <map:match>
section of the sitemap.

I want to match three types of URLs that are different only by one fragment, 
i.e.:

<map:match pattern="db/*/*/toc/*.xml">
<map:match pattern="db/*/*/lot/*.xml">
<map:match pattern="db/*/*/lof/*.xml">

There is a fourth URL type which is to be handled differently:

<map:match pattern="db/*/*/doc/*.xml">

I thought I could reduce the three first pipelines into one by doing something
like this:

<map:match type="regexp" pattern="db/*/*/[toc|lof|lot]/*.xml">

But I don't know how to reference the regex match in the generator.  A helping
hand or a link to examples of the usage of RegexpURIMatcher would be greatly
appreciated.

Also, is the regex matcher very costly in comparison to the wildcard matcher?

Cheers,
Jakob.

Please cc: me directly, as I am on the digest list.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to