Version française
Home     About     Download     Resources     Contact us    
Browse thread
Perl-like Regexps implemented in Ocaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jerome Vouillon <Jerome.Vouillon@p...>
Subject: Re: [Caml-list] Perl-like Regexps implemented in Ocaml?
On Tue, Sep 27, 2005 at 06:39:49PM +0200, Gerd Stolpmann wrote:
> Am Dienstag, den 27.09.2005, 18:05 +0200 schrieb Jerome Vouillon:
> > On Fri, Sep 23, 2005 at 12:43:43AM +0200, Oliver Bandel wrote:
> > > Is there any Perl-like regexp-library written in OCaml?
> > 
> > I wrote a fairly powerful regular expression library some years ago.
> > You can find it on <http://sourceforge.net/projects/libre/>.
> 
> Very interesting, did not know this library exists. Are you still
> interested in developing it?

It's not a high priority at the moment, but I'm at least ready to fix
any reported bug.

> And finally to mention, libre has a thread-safe API. Other people did
> not succeed in making one.

It is not quite thread-safe, actually, as it uses a mutable
datastructures internally (a DFA is built lazily).  Still, you can use
it simultaneously in different threads as long as no compiled regular
expression is used simultaneoously by several threads.

> To encourage the usage of your library, I'll immediately make a GODI
> package.

You should package the CVS version of the library.  It has several bug
fixed compare to version 0.1.

-- Jerome