git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2003-09-23 15:41:44 +00:00
parent e189235a42
commit 6e2815a2b0
1 changed files with 6 additions and 2 deletions

View File

@ -123,14 +123,18 @@ val group_beginning : int -> int
of the substring that was matched by the [n]th group of
the regular expression.
@raise Not_found if the [n]th group of the regular expression
was not matched. *)
was not matched.
@raise Invalid_argument if there are fewer than [n] groups in
the regular expression. *)
val group_end : int -> int
(** [group_end n] returns
the position of the character following the last character of
substring that was matched by the [n]th group of the regular expression.
@raise Not_found if the [n]th group of the regular expression
was not matched. *)
was not matched.
@raise Invalid_argument if there are fewer than [n] groups in
the regular expression. *)
(** {6 Replacement} *)