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 QAA04900; Wed, 10 Mar 2004 16:04:13 +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 QAA05277 for ; Wed, 10 Mar 2004 16:04:12 +0100 (MET) Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2AF4BHd022092 for ; Wed, 10 Mar 2004 16:04:11 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.11/8.12.11/Debian-3) with ESMTP id i2AF41kj020052 for ; Wed, 10 Mar 2004 16:04:05 +0100 Received: from first.UUCP (uucp@localhost) by hirsch.in-berlin.de (8.12.11/8.12.11/Debian-3) with UUCP id i2AF0IEr019515 for inria.fr!caml-list; Wed, 10 Mar 2004 16:00:18 +0100 Received: by first.in-berlin.de via sendmail from stdin id (Debian Smail3.2.0.114) Wed, 10 Mar 2004 15:54:56 +0100 (CET) From: oliver@first.in-berlin.de (Oliver Bandel) Date: Wed, 10 Mar 2004 15:54:56 +0100 To: caml-list@inria.fr Subject: [Caml-list] Ocaml 3.07+2: "Illegal backslash escape in string" Message-ID: <20040310145456.GA272@first.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; oliver:01 in-berlin:01 oliver:01 bandel:01 3.07:01 str-module:01 regexp:01 regexp:01 ocaml:01 ocaml:01 ciao:02 string:03 3.04:05 str:05 str:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 104 Hello, after recompiling code that has run under Ocaml 3.04 (??) without warnings, using Str-module, I now got those messages, as you can see in the Subject-Line. That's, when I use something like Str.regexp = "a\|b" instead of Str.regexp = "a\\|b" Why should I use a double-backslashed sequence? When looking into the manual, the first way is correct. Will this be fixed, or will this double-backslashed sequence the new way how to use Str-regexp-Definitions?! Ciao, Oliver ------------------- 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