DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15900

regexp matcher fails on certain patterns

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-01-08 20:30 -------
To avoid the sitemap add a backslash before the opening brace. Here's the
example from the main samples sitemap :

<!-- sample use of regexp equivalent to "**.source" using wildcard
     this also shows the '\{' notation to escape sitemap values substitution -->
<map:match pattern="(.*)\.s\{1}ource" type="regexp">
  <map:generate src="cocoon:/{1}" />
  <map:transform src="stylesheets/simple-xml2html.xsl"/>
  <map:serialize/>
</map:match>

So your pattern should be :
<map:match type="regexp" pattern="(\d{4}/\d{2}/\d\{2})/promo\.txt">

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

Reply via email to