Re: decorators.xml troubles

Torgeir Veimo <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <1113339318.4998.2.camel@africa>
On Tue, 2005-04-12 at 21:50 +0100, Joe Walnes wrote:
> On Apr 11, 2005 2:39 PM, Torgeir Veimo <[email protected]> wrote:

> First it tries to find an exact match. (e.g. something that doesnt
> contain wildcard chars).
> 
> If that fails, it then looks for all patterns that match that contain
> wildcards (* or ?). Out of all these matches, the longest one wins (as
> this is the most explicit). So /a/b/* beats /a/*.
> 
> Finally, it falls back to the /* pattern.

So it only uses the length of the pattern to define order?

It doesn't seem to work here.. Am using latest version 2.2.1.

It would be good to have a well defined matching order, eg. by the order
defined in the xml file.

Hey, I think I owe you £20, btw.. :)

-- 
Torgeir Veimo <[email protected]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.