English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-01-15 (16:53)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch
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!


Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - improving website return on investment

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