From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA22815; Fri, 5 Jul 2002 16:13:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA22997 for ; Fri, 5 Jul 2002 16:13:03 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g65ED2f28410 for ; Fri, 5 Jul 2002 16:13:02 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA23023 for caml-list@inria.fr; Fri, 5 Jul 2002 16:13:02 +0200 (MET DST) Date: Fri, 5 Jul 2002 16:13:02 +0200 From: Xavier Leroy To: caml-list@inria.fr Subject: [Caml-list] Regular expression library: a poll on features Message-ID: <20020705161302.C20462@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear OCaml users, There is a consensus that the current OCaml regexp library (Str) is not satisfactory, for various reasons: not robust enough; slow on certain regexps; non-reentrant API; and restrictive license. We are therefore investigating alternative regexp libraries, with the idea of providing both an emulation of the Str interface (for backward compatibility) and a better interface (for new programs). Several candidates exist, most notably PCRE and Jérôme Vouillon's RE library. One issue on which I'd like your opinion is that none of these candidates support both features below: 1- back-references in regexps (e.g. "([a-z]+)\1", meaning any sequence of lowercase letters followed by another occurrence of the same sequence); 2- partial string matching as per Str.string_partial_match, i.e. the ability to recognize that a string is a prefix of a string that match a regexp. What I'd like to know is: do you use any of these features? Please reply to me personally -- there's no need to bother the list with this -- and I'll post a summary of the replies. Thanks for your input, - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners