cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15900] New: - regexp matcher fails on certain patterns
Date Wed, 08 Jan 2003 19:51:10 GMT
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


Mime
View raw message