You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/08 20:51:10 UTC

DO NOT REPLY [Bug 15900] New: - regexp matcher fails on certain patterns

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

           Summary: regexp matcher fails on certain patterns
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: miles@geekspeak.org


When trying to match an entry (eg. 2003/01/27/promo.txt), when the match

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

is used, the match fails with an internal servlet error.  If, however, the match

<map:match type="regexp" pattern="(\d\d\d\d/\d\d/\d\d)/promo\.txt">

is used, the match succeeds.  These should be identical, but the regexp matcher
doesn't seem to handle pattern sequences.

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