From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id EE66ABC8D for ; Tue, 11 Jan 2005 21:54:07 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0BKs7qe013041 for ; Tue, 11 Jan 2005 21:54:07 +0100 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 VAA24001 for ; Tue, 11 Jan 2005 21:54:07 +0100 (MET) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0BKs6Xa013038; Tue, 11 Jan 2005 21:54:06 +0100 Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id B4688C4BB47; Tue, 11 Jan 2005 15:54:04 -0500 (EST) X-Sasl-enc: T29QI87/5rJdY7L14rYHvw 1105476844 Received: from [172.16.112.115] (burnham.ljcrf.edu [192.231.106.2]) by frontend3.messagingengine.com (Postfix) with ESMTP id 610A625599; Tue, 11 Jan 2005 15:53:58 -0500 (EST) Date: Tue, 11 Jan 2005 12:53:56 -0800 (PST) From: Martin Jambon X-X-Sender: martin@localhost To: skaller Cc: Martin Jambon , Xavier Leroy , Christophe TROESTLER , "O'Caml Mailing List" Subject: Re: [Caml-list] Thread safe Str In-Reply-To: <1105415669.3534.55.camel@pelican.wigram> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at concorde with ID 41E43CEF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41E43CEE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 regexp:01 ocaml:01 ocamllex:01 model:01 pcre:01 pcre:01 reuse:01 variants:01 precisely:01 century:98 jambon:02 jambon:02 thread:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.0 X-Spam-Level: On 11 Jan 2005, skaller wrote: > So I would love to see integration of regexp support in Ocaml > but I'm very much against Str. If some technology is to > be integrated, please use the right technology and > integrate Ocamllex. > > See the ulex package for a model. The problem with micmatch > is precisely that it does use Str. It uses either Str or PCRE. The PCRE variant makes me feel very satisfied and as you know, a programmer which feels this way is unlikely to spend time to improve his tools :-) You can also integrate ulex by yourself if it is possible. In that case, it should be relatively straightforward to reuse the existing micmatch core which is already shared between the 2 existing variants. Martin -- Martin Jambon, PhD Researcher in Structural Bioinformatics since the 20th Century The Burnham Institute http://www.burnham.org San Diego, California