Giacomo Pati wrote:
On Tue, 27 Jun 2006, [EMAIL PROTECTED] wrote:

Date: Tue, 27 Jun 2006 15:39:35 -0000
From: [EMAIL PROTECTED]
Reply-To: dev@cocoon.apache.org
To: cvs@cocoon.apache.org
Subject: svn commit: r417489 -
/cocoon/branches/BRANCH_2_1_X/src/test/org/apache/cocoon/matching/Wildcard
    URIMatcherTestCase.java

Author: andreas
Date: Tue Jun 27 08:39:35 2006
New Revision: 417489

URL: http://svn.apache.org/viewvc?rev=417489&view=rev
Log:
Added failing test to WildcardURIMatcherTestCase: **/*.html results in wrong wildcard replacements

I'll have a look at it tomorrow.

That would be great, thanks a lot!

I took a quick look at WildcardMatcherHelper.Matcher.match(), but it
looked a little to complex. I guess the problem is that the double
asterisk is not greedy enough, but I have no idea how to fix it :)

I wondered, though, that the Javadocs say that the method works from
the end to the start, but it looks like it actually works from the
start to the end - maybe it's related to that?


-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]

Reply via email to