Module Re.Pcre
type regexp= Re__.Core.retype flag=[|`CASELESS|`MULTILINE|`ANCHORED]type groups= Re__.Core.groupstype split_result=Result of a
Pcre.full_split
val re : ?flags:flag list -> string -> Re__.Core.tre ~flags screates the regexpsusing the pcre syntax.
val regexp : ?flags:flag list -> string -> regexpre ~flags scompiles the regexpsusing the pcre syntax.
val extract : rex:regexp -> string -> string arrayextract ~rex sexecutesrexonsand returns the matching groups.
val get_substring : groups -> int -> stringEquivalent to
Core.Group.get.
val get_substring_ofs : groups -> int -> int * intEquivalent to
Core.Group.offset.
val pmatch : rex:regexp -> string -> boolEquivalent to
Core.execp.
val substitute : rex:Re__.Core.re -> subst:(string -> string) -> string -> stringval full_split : ?max:int -> rex:regexp -> string -> split_result listval split : rex:regexp -> string -> string listval quote : string -> string
Deprecated
type substrings= Re__.Core.groups