caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jerome Vouillon <Jerome.Vouillon@inria.fr>
To: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
Cc: Berke Durak <berke@altern.org>, caml-list@inria.fr
Subject: Re: [Caml-list] String.unescaped and some other little pitiful laments
Date: Wed, 11 Jul 2001 20:03:14 +0200	[thread overview]
Message-ID: <20010711200314.A19076@pauillac.inria.fr> (raw)
In-Reply-To: <15179.62514.324857.527417@pc803>; from Jean-Christophe.Filliatre@lri.fr on Wed, Jul 11, 2001 at 08:37:38AM +0200

On Wed, Jul 11, 2001 at 08:37:38AM +0200, Jean-Christophe Filliatre wrote:
> 
> Berke Durak writes:
>  > 
>  > Also I'd like to see those horrible functions returning parameters in
>  > global variables be eradicated, such as those that can be found in the Str
>  > (regular expression) module. Is there a complete, typeful regular
>  > expression package entirely written in Ocaml ?
> 
> Yes,  there  is one  by  Claude Marché,  available  (in  a very  first
> release) at:
> 
> 	 http://www.lri.fr/~marche/tmp/regexp-0.1.tar.gz
> 
> (Documentation can be found in  the .mli files)

We also implemented a regular expression module for Unison, as the
standard one (Str) was unusably slow.  It has a similar interface to
the one by Claude Marché, but it is more complete: it support almost
all Posix extended regular expression (only collating sequences are
missing), filename globbing, case insensitive matching, and boolean
operations (union, intersection and difference) on regular expression.
Both implementation have the disavantage of not supporting submatches,
though.  It would be interesting to compare their perfomances.

The sources are a stand-alone subset (files src/rx.ml and src/rx.mli)
of the sources of Unison (available from
http://www.cis.upenn.edu/~bcpierce/unison/index.html).

-- Jerome
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-07-11 18:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10 18:07 Berke Durak
2001-07-10 18:55 ` Markus Mottl
2001-07-11  6:44   ` Jean-Christophe Filliatre
2001-07-11  6:37 ` Jean-Christophe Filliatre
2001-07-11  7:29   ` Claude Marche
2001-07-11 18:03   ` Jerome Vouillon [this message]
2001-07-11 19:30 ` Xavier Leroy
2001-07-11 20:33   ` Markus Mottl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010711200314.A19076@pauillac.inria.fr \
    --to=jerome.vouillon@inria.fr \
    --cc=Jean-Christophe.Filliatre@lri.fr \
    --cc=berke@altern.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).