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 OAA10274; Sun, 8 Dec 2002 14:22:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 OAA11013 for ; Sun, 8 Dec 2002 14:22:27 +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 nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gB8DMO102182 for ; Sun, 8 Dec 2002 14:22:25 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by sm181.163.com (Postfix) with SMTP id 4E6B61C6A9E04 for ; Sun, 8 Dec 2002 21:22:06 +0800 (CST) Received: from 163.com (unknown [159.226.149.121]) by 192.168.1.181 (Coremail) with SMTP id ygMAAHxH8z35B5V5.1 for ; Sun, 08 Dec 2002 21:22:06 +0800 (CST) Message-ID: <3DF3B807.9080502@163.com> Date: Sun, 08 Dec 2002 21:22:15 +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] another question about pcre_exec Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dose the int array returned by pcre_exec contain the offsets of all the matches or the first match from pos? However as i tried, it seems that it returned the first match offects, then why it return a int array not a turple of int*int which refers to (from, to) ? 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