Browse thread
Str.string_match incorrect
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 Sat, 2004-12-25 at 04:40, Christopher A. Watford wrote: > Going by PCRE's documentation no idea why I would do that ... > Str.string_match (Str.regexp "a") "ab" 0 ;; > > And in PCRE /a/ matches "ab" or "aa" or "ba". # Str.string_match (Str.regexp "a") "xax" 0;; - : bool = false -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net