You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ross Burton <ro...@mail.com> on 2000/04/10 16:38:17 UTC

Matchers and the Sitemap

Hi,

It appears that although the sitemap has a interface called Matcher, it is
not used in the sitemap processing!  Is this due to be implemented for
JavaONE?  I was starting work on a user-agent matcher, but decided against
hacking the sitemap processing line...  :-)

Ross Burton


Re: Matchers and the Sitemap

Posted by "Pier P. Fumagalli" <pi...@apache.org>.
Paul Russell wrote:
> 
> On Fri, Apr 14, 2000 at 08:38:34PM -0700, Pier P. Fumagalli wrote:
> > I am focusing on algorithms for regexp matching and some proprietary
> > stuff of some of our customers at Exoffice....
> 
> Um. There's a GNU regexp matching API released under the LGPL.

Too slow and too complicated to what we have to do.... 
We're not doing regexp... we're doing wildcard matching/substitution...
my mistake :)

	Pier


-- 
----------------------------------------------------------------------
pier: stable structure erected over water to allow docking of seacraft
<ma...@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------

Re: Matchers and the Sitemap

Posted by Paul Russell <Pa...@uea.ac.uk>.
On Sun, Apr 16, 2000 at 12:14:58PM +0200, Gabor Dolla wrote:
> > I am focusing on algorithms for regexp matching and some
> > proprietary stuff of some of our customers at Exoffice....
> 
> have you seen this :
> 
> www.savarese.org/oro

Only problem being that it's GPL, which screws us as far as
the ASL is concerned. Might be better with the GNU library,
which is LGPL (and hence not viral).


Paul

Re: Matchers and the Sitemap

Posted by Mike Engelhart <me...@earthtrip.com>.
Gabor Dolla wrote:

> 
> have you seen this :
> 
> www.savarese.org/oro
> 
> I've been using this Perl style regex matching java and it works fine
> 
> Gabor
> 
I give a vote of confidence. I've been using it in a production environment
for over a year and it works flawlessly.   Their site says that version 2.0
coming in June will be release under the GPL.  The binary is freely
distributable now but the source isn't yet.

Mike


Re: Matchers and the Sitemap

Posted by Gabor Dolla <ag...@mezon.net>.
> > On Fri, Apr 14, 2000 at 08:38:34PM -0700, Pier P. Fumagalli wrote:

> I am focusing on algorithms for regexp matching and some
> proprietary stuff of some of our customers at Exoffice....

have you seen this :

www.savarese.org/oro

I've been using this Perl style regex matching java and it works fine

Gabor



Re: Matchers and the Sitemap

Posted by Donald Ball <ba...@webslingerZ.com>.
On Sat, 15 Apr 2000, Paul Russell wrote:

> On Fri, Apr 14, 2000 at 08:38:34PM -0700, Pier P. Fumagalli wrote:
> > I am focusing on algorithms for regexp matching and some proprietary
> > stuff of some of our customers at Exoffice.... 
> 
> Um. There's a GNU regexp matching API released under the LGPL.
> 
>    http://www.cacas.org/java/gnu/regexp/
> 
> API seems sane, if slightly clunky (mind you, I'm used to perl,
> so *everything* seems clunky in that respect ;).
> 
> Regexp algos are hideous as a rule; the only way I can think
> of off the top of my head would be to construct a backtracking
> NDFSM. urgh. If we can use the gnu library, it'll probably
> save us all from going mad ;)

i've thought for a while that the GNU regexp library should, at least, be
offered as an option. why reinvent the wheel? writing a good regexp
library from scratch is going to take a while, and debugging it, a
lifelong affair. :)

- donald


Re: Matchers and the Sitemap

Posted by Paul Russell <Pa...@uea.ac.uk>.
On Fri, Apr 14, 2000 at 08:38:34PM -0700, Pier P. Fumagalli wrote:
> I am focusing on algorithms for regexp matching and some proprietary
> stuff of some of our customers at Exoffice.... 

Um. There's a GNU regexp matching API released under the LGPL.

   http://www.cacas.org/java/gnu/regexp/

API seems sane, if slightly clunky (mind you, I'm used to perl,
so *everything* seems clunky in that respect ;).

Regexp algos are hideous as a rule; the only way I can think
of off the top of my head would be to construct a backtracking
NDFSM. urgh. If we can use the gnu library, it'll probably
save us all from going mad ;)


Paul

Re: Matchers and the Sitemap

Posted by "Pier P. Fumagalli" <pi...@apache.org>.
Stefano Mazzocchi wrote:
> 
> Ross Burton wrote:
> >
> > Hi,
> >
> > It appears that although the sitemap has a interface called Matcher, it is
> > not used in the sitemap processing!  Is this due to be implemented for
> > JavaONE?  I was starting work on a user-agent matcher, but decided against
> > hacking the sitemap processing line...  :-)
> 
> Pier, what's your status on this? Should Ross go ahead and take care of
> including Matching support into the sitemap or do you have anything
> ready-but-not-yet-committed?

Nope... nothing "ready-but-not-yet-committed"... (It's not on top of my
todo list!)

I am focusing on algorithms for regexp matching and some proprietary
stuff of some of our customers at Exoffice.... 

	Pier (reading old email)

-- 
----------------------------------------------------------------------
pier: stable structure erected over water to allow docking of seacraft
<ma...@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------

Re: Matchers and the Sitemap

Posted by Stefano Mazzocchi <st...@apache.org>.
Ross Burton wrote:
> 
> Hi,
> 
> It appears that although the sitemap has a interface called Matcher, it is
> not used in the sitemap processing!  Is this due to be implemented for
> JavaONE?  I was starting work on a user-agent matcher, but decided against
> hacking the sitemap processing line...  :-)

Pier, what's your status on this? Should Ross go ahead and take care of
including Matching support into the sitemap or do you have anything
ready-but-not-yet-committed?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Re: Matchers and the Sitemap

Posted by "Pier P. Fumagalli" <pi...@apache.org>.
Ross Burton wrote:
> 
> Hi,
> 
> It appears that although the sitemap has a interface called Matcher, it is
> not used in the sitemap processing!  Is this due to be implemented for
> JavaONE?  I was starting work on a user-agent matcher, but decided against
> hacking the sitemap processing line...  :-)

NYI ... not yet implemented

	Pier (reading old email)
-- 
----------------------------------------------------------------------
pier: stable structure erected over water to allow docking of seacraft
<ma...@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------