PR#1844
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
e189235a42
commit
6e2815a2b0
|
@ -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} *)
|
||||
|
|
Loading…
Reference in New Issue