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 KAA25552; Tue, 12 Nov 2002 10:23:02 +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 KAA25548 for ; Tue, 12 Nov 2002 10:23:01 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from smtp1.cp.tin.it (vsmtp1.tin.it [212.216.176.221]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gAC9N0X17570 for ; Tue, 12 Nov 2002 10:23:00 +0100 (MET) Received: from favilla.biomedin.int (212.171.40.68) by smtp1.cp.tin.it (6.5.029) id 3DC64DFA00291B59 for caml-list@inria.fr; Mon, 11 Nov 2002 16:14:34 +0100 Content-Type: text/plain; charset="us-ascii" From: Stalkern 2 Reply-To: stalkern2@tin.it To: caml-list@inria.fr Subject: [Caml-list] Does any current ocaml program understand the {n1,n2} regexp syntax? Date: Mon, 11 Nov 2002 17:15:22 +0100 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211111715.22699.stalkern2@tin.it> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello to everybody I went and used Str.regexp, but it seems that it does not use things like the { } notation, i.e. {, } # Str.string_match (Str.regexp "y{3,}") "yyy" 0;; - : bool = false What should I use then? PCRE, Vouillon's RE (BTW, where can I find this), anything else? Thank you Ernesto ------------------- 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