From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 713F1BB91 for ; Thu, 27 Jan 2005 07:44:32 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0R6iVsx013368 for ; Thu, 27 Jan 2005 07:44:32 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA10314 for ; Thu, 27 Jan 2005 07:44:31 +0100 (MET) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0R6iUiM013364 for ; Thu, 27 Jan 2005 07:44:31 +0100 Received: by rproxy.gmail.com with SMTP id i8so151256rne for ; Wed, 26 Jan 2005 22:44:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=r2S00Re6aE992xbgJ40bD8qhiTkHyWXDO4YvR+aVL1hQ34bZ2PqATTuNcka3dycDVLrOI6UJR6kYIxocqQJYk2+w9l7bTmcu+1ov5Ni3QQz2sxs11XGQZlaOXQ359W69Hre8Zeh7g9htne9cTxYY0cgDtibT8vpj7ku34jcBxcY= Received: by 10.38.70.49 with SMTP id s49mr131748rna; Wed, 26 Jan 2005 22:44:30 -0800 (PST) Received: by 10.38.65.58 with HTTP; Wed, 26 Jan 2005 22:44:30 -0800 (PST) Message-ID: <7f8e92aa05012622441fce509b@mail.gmail.com> Date: Thu, 27 Jan 2005 08:44:30 +0200 From: Radu Grigore Reply-To: Radu Grigore To: "yjc01@doc.ic.ac.uk" Subject: Re: [Caml-list] index of substring Cc: caml-list@inria.fr In-Reply-To: <1106786478.41f838aecb7dd@www.doc.ic.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1106786478.41f838aecb7dd@www.doc.ic.ac.uk> X-Miltered: at nez-perce with ID 41F88DD0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41F88DCE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 ocamllex:01 radu:05 radu:05 thu:05 definitely:11 jan:16 easier:17 there:17 regards:19 index:76 way:24 com:74 the:26 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_BY_IP,TO_ADDRESS_EQ_REAL autolearn=disabled version=3.0.0 X-Spam-Level: On Thu, 27 Jan 2005 00:41:18 +0000, yjc01@doc.ic.ac.uk wrote: > Or is there an easier way to do this? Ocamllex is definitely the easiest. -- regards, radu http://rgrig.idilis.ro/