English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
New release of PCRE-OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-01-03 (16:47)
From: Markus Mottl <mottl@m...>
Subject: New release of PCRE-OCaml

I would like to announce the availability of a new implementation of the
PCRE (Perl Compatibility Regular Expressions) for OCaml.

Here the Changes:

  * Uses the new features of OCaml 2.99:
    Labeled parameters and default arguments for much more
    convenience. E.g. write
      split pos:1 "foo bar"
    to get the list ["oo"; "bar"].
    Polymorphic variants for passing options: this change allows,
    for example, using the data constructor "ANCHORED" for both
    compiling flags and at matching time instead of "C_ANCHORED"
    and "R_ANCHORED".
  * Got rid of all the superfluous shortcuts, like "bounded_psplit"
    and the like. Labeled parameters are much more readable and
  * Removed the functions compatible to the "Str"-module. It's
    probably rather confusing for people to see two different kinds
    of implementations.
  * Renamed functions due to the use of labels and the removing
    of the obsolete compatibility functions.
  * Updated documentation with more details on using the library.
Since this is my first attempt on using the new features of OCaml,
suggestions for improvements are welcome!

You can find the new release at:


Best regards,
Markus Mottl

Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl