Module Re_pcreSource
include module type of struct include Re.Pcre end
Result of a Pcre.full_split
Source
val re :
?flags:flag list ->
string ->
(Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen @@ portablere ~flags s creates the regexp s using the pcre syntax.
re ~flags s compiles the regexp s using the pcre syntax.
extract ~rex s executes rex on s and returns the matching groups.
Return the first matched named group, or raise Not_found. Prefer to use the non-raising version get_named_substring_opt
Return the first matched named group, or raise Not_found.
Equivalent to Core.Group.offset.
Source
val substitute :
rex:Re__.Compile.re ->
subst:(string -> string) ->
string ->
string @@ portable