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 RAA21601; Thu, 15 Jan 2004 17:53:17 +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 RAA21743 for ; Thu, 15 Jan 2004 17:53:16 +0100 (MET) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0FGrF523107 for ; Thu, 15 Jan 2004 17:53:15 +0100 (MET) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1AhAk7-0002yK-00 for ; Thu, 15 Jan 2004 16:53:15 +0000 Date: Thu, 15 Jan 2004 16:53:15 +0000 To: caml-list@inria.fr Subject: Re: [Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch Message-ID: <20040115165315.GA10912@redhat.com> References: <20040115140324.GA3047@redhat.com> <4006AC01.F2AD2741@decis.be> <20040115154211.GA8340@redhat.com> <20040115161943.GB9541@fichte.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040115161943.GB9541@fichte.ai.univie.ac.at> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 pcre:01 freshmeat:01 ltd:98 regexp:01 ocaml:01 caml:01 patch:02 mottl:02 wrote:03 awful:03 perl:03 markus:04 investment:94 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Jan 15, 2004 at 05:19:44PM +0100, Markus Mottl wrote: > I know it looks awful, but the four backslashes in the regexp > pattern for re2 indeed only stand for one. They have to be escaped > in the OCaml-string and also for PCRE again, > i.e. twice. Substitution patterns use the $-sign for escaping - > therefore escaping only needs to be done once. Another reason to hasten the addition of regular expressions to the OCaml lexer, 'a la Perl! Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment http://www.execellence.com/ ------------------- 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