cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <m_rola...@web.de>
Subject AW: Patterns
Date Fri, 12 Mar 2004 18:35:38 GMT


> -----Ursprüngliche Nachricht-----
> Von: users-return-64530-m_rolappe=web.de@cocoon.apache.org
> [mailto:users-return-64530-m_rolappe=web.de@cocoon.apache.org]Im Auftrag
> von Lionel Crine
> Gesendet: Freitag, 12. März 2004 15:43
> An: users@cocoon.apache.org
> Betreff: Patterns
>
>
> Hi,
>
> what is the difference between this two matches :
>
> <map:match pattern="*">

this would match things like 'foo' and 'bar' but not 'foo/bar'

> and
>
> <map:match pattern="**">

this would match anything. so, the '*' pattern matches one complete path
segement, while '**' matches the complete path.

> In the second match, how can I differenciate the two stars ?

there's nothing to differentiate, as there are no two separate 'items'. the
'**' is one 'meta-character' of the match pattern



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


Mime
View raw message