Re_pcretype regexp = Re.retype groups = Re.groupsre ~flags s compiles the regexp s using the pcre syntax.
val extract : rex:regexp -> string -> string arrayextract ~rex s executes rex on s and returns the matching groups.
val get_substring : groups -> int -> stringEquivalent to Re.Group.get.
val get_substring_ofs : groups -> int -> int * intEquivalent to Re.Group.offset.
val substitute : rex:Re.re -> subst:(string -> string) -> string -> stringval full_split : ?max:int -> rex:regexp -> string -> split_result listval split : rex:regexp -> string -> string listtype substrings = Re.groups