cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" <upayav...@fwbo.org>
Subject Re: problems matching URLs with underscores
Date Sun, 27 Apr 2003 19:20:41 GMT
Jeremy - using a slow net from South Africa at present...

Have you tried REDemo, which comes with Jakarta Regexp? Just do java
org.apache.regexp.REDemo (or something like that) and you get a GUI that
lets you test out regexps.

HTH.

Regards, Upayavira


On Thu, 24 Apr 2003 16:25:57 +0100, "Jeremy Quinn"
<jeremy@media.demon.co.uk> said:
> 
> 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