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] Str.string_match raising Invalid_argument "String.sub" in gc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-08-24 (16:49)
From: Miles Egan <miles@c...>
Subject: Re: [Caml-list] standard regex package
On Fri, Aug 24, 2001 at 11:13:31AM +0200, Xavier Leroy wrote:
> The last time this topic came up on this list, I said that we aren't
> opposed to put PCRE in the OCaml distribution (provided Markus agrees
> with that, of course).  BUT: in the name of backward compatibility, we
> must have an Str-compatible interface to this library (same functions
> and same regexp syntax as in Str), in addition to the native PCRE
> interface.  I think it can be done, but the replies I got to this
> request were of the form "I don't have time to do this".

I'd be happy to do it, but I'm afraid it's a bit beyond my abilities.  What do
you think of Markus' suggestion of simply keeping the current str module and
adding a new pcre module?


"We in the past evade X, where X is something which we believe to be a
lion, through the act of running." -
Bug reports:  FAQ:
To unsubscribe, mail  Archives: