From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA08230 for caml-redistribution; Mon, 3 Jan 2000 17:47:52 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA23792 for ; Mon, 3 Jan 2000 13:11:42 +0100 (MET) Received: from miss.wu-wien.ac.at (miss.wu-wien.ac.at [137.208.107.17]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id NAA20785 for ; Mon, 3 Jan 2000 13:11:41 +0100 (MET) Received: (from mottl@localhost) by miss.wu-wien.ac.at (8.9.0/8.9.0) id NAA20544 for caml-list@inria.fr; Mon, 3 Jan 2000 13:11:28 +0100 (MET) From: Markus Mottl Message-Id: <200001031211.NAA20544@miss.wu-wien.ac.at> Subject: New release of PCRE-OCaml To: caml-list@inria.fr (OCAML) Date: Mon, 3 Jan 2000 13:11:28 +0100 (MET) X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: weis Hello, 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 convenient. * 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: http://miss.wu-wien.ac.at/~mottl/ocaml_sources/intro.html Best regards, Markus Mottl -- Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl