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
Str.string_match incorrect
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Str.string_match incorrect
On Thu, 2004-12-23 at 04:26, Kurt Welgehausen wrote:

> Str.string_match is almost exactly the same as Python's
> re.match:

Which is based on PCRE. I checked the Python documentation
and it is *also* incorrect for the same reason.

I do not care what the expected behaviour is, provided
the documentation describes the semantics, and in this
case both Ocaml and Python have it wrong.

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language