From: Stalkern 2 <stalkern2@tin.it>
To: caml-list@inria.fr
Subject: [Caml-list] Does any current ocaml program understand the {n1,n2} regexp syntax?
Date: Mon, 11 Nov 2002 17:15:22 +0100 [thread overview]
Message-ID: <200211111715.22699.stalkern2@tin.it> (raw)
Hello to everybody
I went and used Str.regexp, but it seems that it does not use things like the
{ } notation, i.e. {<minimum number of occurrences>, <maximum number of
occurrences>}
# Str.string_match (Str.regexp "y{3,}") "yyy" 0;;
- : bool = false
What should I use then? PCRE, Vouillon's RE (BTW, where can I find this),
anything else?
Thank you
Ernesto
-------------------
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
next reply other threads:[~2002-11-12 9:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 16:15 Stalkern 2 [this message]
2002-11-12 10:01 ` IKEDA Katsumi
[not found] ` <200211121445.50040.stalkern2@tin.it>
2002-11-13 0:31 ` IKEDA Katsumi
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=200211111715.22699.stalkern2@tin.it \
--to=stalkern2@tin.it \
--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