caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* New release of PCRE-OCaml
@ 2000-01-03 12:11 Markus Mottl
  0 siblings, 0 replies; only message in thread
From: Markus Mottl @ 2000-01-03 12:11 UTC (permalink / raw)
  To: OCAML

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-03 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-03 12:11 New release of PCRE-OCaml Markus Mottl

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).