From: Ingo Bormuth <ibormuth@efil.de>
To: caml-list@inria.fr
Subject: ocamlagrep anybody ?
Date: Mon, 8 May 2006 09:57:30 +0200 [thread overview]
Message-ID: <20060508075730.GA19558@kruemel> (raw)
Hi list,
ocamlagrep produces strange results in my hands:
let p = Agrep.pattern "test" ;;
let s = "Hello test world." ;;
let l = String.length s ;;
Agrep.errors_substring_match p s ~numerrs:0 ~pos:0 ~len:l
==> returns 0 ( as expected )
Agrep.errors_substring_match p s ~numerrs:3 ~pos:0 ~len:l
==> returns 3 ( why ??? Should be 0 !!! )
I tried many other combinations and do not get what's going on.
The library is around since ages. What did I miss.
Thanks
Ingo
--
Ingo Bormuth, voicebox & telefax: +49-12125-10226517 '(~o-o~)'
public key 86326EC9, http://ibormuth.efil.de/contact --ooO--(.)--Ooo--
next reply other threads:[~2006-05-08 8:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-08 7:57 Ingo Bormuth [this message]
2006-05-08 12:10 ` [Caml-list] " Xavier Leroy
2006-05-08 15:35 ` Ingo Bormuth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060508075730.GA19558@kruemel \
--to=ibormuth@efil.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox