forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler" <rgard...@apache.org>
Subject Re: Why not use regexp-matcher for *.html-pipelines
Date Tue, 08 May 2007 15:26:51 GMT
On 08/05/07, Ferdinand Soethe <ferdinand@apache.org> wrote:
> Looking at Cyriaques elegant solution for php-processing and finding a
> similar one used for matching fo's in sitemap
>
> >  <map:match type="regexp" pattern="^(.*?)([^/]*).fo$">
>
> I wonder why we are not using as similar matcher to get rid of that
> redundant code in sitemap

...

> Is there a reason it is not used?

The only reason I can think of  is that the wildcard matchers are much
easier to read than the RE ones.

Personally, I have no problem with them being changed but they should
have a clear comment indicating what they will match for those people
who cannot read RE's

Ross

Mime
View raw message