caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] ANNOUNCE: lablpcre-1.0 - a PCRE binding for Objective Caml
Date: Wed, 31 Jan 2007 16:13:20 -0800	[thread overview]
Message-ID: <45C130A0.4060107@rftp.com> (raw)
In-Reply-To: <20070131151603.GA22962@localhost>

Eric Cooper wrote:
> On Sun, Jan 28, 2007 at 09:42:02PM -0800, Robert Roessler wrote:
>> LablPCRE provides simple and easy to use access to regular expression 
>> matching, offering a rich module-based interface based on PCRE's POSIX 
>> functions wrapper.
> 
> Can you (or anyone familiar with both) summarize how this binding
> compares to Markus Mottl's pcre-ocaml?  Thanks.

As Markus says, it does implement the POSIX API for regular expression 
matching and extraction of sub-patterns... but note that that just 
[here] controls the "level" of the interface: there is a regcomp 
function for compiling the patterns and a regexec call for matching a 
compiled pattern against a specific string.

The full "language" of PCRE for matching and pattern specification is 
accepted.  Further, LablPCRE adds an even lighter-weight regmatch 
function when all that is desired is a boolean answer on a match, as 
well as a set of substring extraction and [error] status info accessor 
functions.

LablPCRE makes an effort to be a good GC-citizen by not holding 
references to anything it doesn't need to. :)

Finally, LablPCRE supports PCRE 7.0 (or any of the releases back to 6.1).

Robert Roessler
roessler@rftp.com
http://www.rftp.com


      parent reply	other threads:[~2007-02-01  0:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29  5:42 Robert Roessler
2007-01-31 15:16 ` [Caml-list] " Eric Cooper
2007-01-31 15:31   ` Markus Mottl
2007-02-01  0:13   ` Robert Roessler [this message]

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=45C130A0.4060107@rftp.com \
    --to=roessler@rftp.com \
    --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).