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] unix.chop_extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Keith Wansbrough <Keith.Wansbrough@c...>
Subject: Re: [Caml-list] unix.chop_extension
> interface to use substrings, eliminating Not_found exceptions by considering
> an empty substring to be a failed match.

It's not clear that this is always the right thing to do... \([0-9]*\)
can succeed but return an empty substring.

--KW 8-)

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