package re
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Re.Group
Manipulate matching groups.
type t = groupsInformation about groups in a match.
val get : t -> int -> stringRaise Not_found if the group did not match
val offset : t -> int -> int * intRaise Not_found if the group did not match
val start : t -> int -> intReturn the start of the match. Raise Not_found if the group did not match.
val stop : t -> int -> intReturn the end of the match. Raise Not_found if the group did not match.
val all : t -> string arrayReturn the empty string for each group which did not match
val all_offset : t -> (int * int) arrayReturn (-1,-1) for each group which did not match
val test : t -> int -> boolTest whether a group matched