From: Markus Mottl <mottl@miss.wu-wien.ac.at>
To: caml-list@inria.fr (OCAML)
Subject: New release of PCRE-OCaml
Date: Mon, 3 Jan 2000 13:11:28 +0100 (MET) [thread overview]
Message-ID: <200001031211.NAA20544@miss.wu-wien.ac.at> (raw)
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
reply other threads:[~2000-01-03 16:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200001031211.NAA20544@miss.wu-wien.ac.at \
--to=mottl@miss.wu-wien.ac.at \
--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