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 OAA10167; Sun, 8 Dec 2002 14:10:09 +0100 (MET) 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 OAA09981 for ; Sun, 8 Dec 2002 14:10:08 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from sm181.163.com ([202.108.44.181]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gB8DA6X11816 for ; Sun, 8 Dec 2002 14:10:06 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by sm181.163.com (Postfix) with SMTP id CFD061C95944C for ; Sun, 8 Dec 2002 21:09:44 +0800 (CST) Received: from 163.com (unknown [159.226.149.121]) by 192.168.1.181 (Coremail) with SMTP id vwMAAJNE8z1eDZV5.1 for ; Sun, 08 Dec 2002 21:09:44 +0800 (CST) Message-ID: <3DF3B51F.7060704@163.com> Date: Sun, 08 Dec 2002 21:09:51 +0000 From: onlyclimb User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] pcre Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear Camlist i am begin learning ocaml pcre i am a litter comfused about the result of function pcre_exec let s ="abcdbcd" ;; let t = pcre_exec ~pat:"bc" s ;; t = [| 1; 3; 0 |] what does the last zero mean? thanks ------------------- 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