cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: problems matching URLs with underscores
Date Thu, 24 Apr 2003 15:25:57 GMT

On Thursday, April 24, 2003, at 02:56 PM, Berin Loritsch wrote:

> 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.

Yeah, so I am beginning to realise .... shame, because it was a cool 
way of testing and developing them .... maybe I can find a different 
text editor that uses the same regexp engine as Cocoon ....

Thanks for the confirmation

regards Jeremy


Mime
View raw message