Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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-16 (09:34)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch
On Thu, Jan 15, 2004 at 10:15:30PM -0800, james woodyatt wrote:
> On 15 Jan 2004, at 08:53, Richard Jones wrote:
> >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!
> Doesn't the lexer already have regular expressions?  I think you mean 
> something to make regular expressions into first-class values in the 
> language.  I'm not sure that's necessary.

Being able to write:

var ~ /ab+/

and similar certainly makes string handling and simple parsing a lot


Richard Jones.
Merjis Ltd. - improving website return on investment
Perl4Caml lets you use any Perl library in your type-safe Objective
CAML programs.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: