cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: problems matching URLs with underscores
Date Thu, 24 Apr 2003 13:56:51 GMT
Jeremy Quinn wrote:
> Thing is ...... this match (below) also does not work in Cocoon (on the 
> same URL), while it does work in BBedit, is this a related regexp problem?
>     <map:match pattern="^(easy/)?([a-z_0-9]*)/([a-z_0-9]*)$" type="regexp">
> but there does seem to be a workaround:
>     <map:match pattern="^(easy/)?([\w]*)/([\w]*)$" type="regexp">
> works!

Different Regular Expression engines do matching in different ways, so
just because it works with one engine is no guarantee that it will work
with others.

"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".

-----Chris Rock

View raw message