Version française
Home     About     Download     Resources     Contact us    
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 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