From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 88335BC0B for ; Sat, 25 Nov 2006 19:37:45 +0100 (CET) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kAPIbjT2026482 for ; Sat, 25 Nov 2006 19:37:45 +0100 Received: from [192.168.0.121] (did75-6-82-226-95-82.fbx.proxad.net [82.226.95.82]) by smtp4-g19.free.fr (Postfix) with ESMTP id 0E2798886 for ; Sat, 25 Nov 2006 19:37:45 +0100 (CET) Message-ID: <45688DAE.7010309@ccr.jussieu.fr> Date: Sat, 25 Nov 2006 19:38:38 +0100 From: Francois Colonna Reply-To: colonna@ccr.jussieu.fr User-Agent: Thunderbird 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: About the O'Reilly book on the web Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at discorde with ID 45688D79.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; o'reilly:01 o'reilly:01 oreilly-book:01 followin:01 regexp:01 backslash:01 compilation:01 compile:01 compile:01 typing:01 expression:01 jussieu:01 corrections:02 caml:02 francois:02 Hello in the version of the O'Reilly book on the web http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora105.html#toc134 Chapter 11 about Str Library page 293 the followin example of a regular expression is given : *let*| |english_date_format| ||=|| |Str.regexp| ||"[0-9]+\.[0-9]+\.[0-9]+"|| |;; 1 - if you are aware of how to compile a Library and try to compile this line you will get a Warning : Warning X: illegal backslash escape in string. Is that a typing error ? Who is in charge of this kind of corrections ? 2 - if you are not aware of how to compile a Library it will be impossible to make this line of code be compiled and linked. It will be nice to warn the reader about this trouble (for example with a special icon) and to give him the possibility to find (quickly) a description of the rather difficult compilation procedure to be used in this case Thanks François Colonna