package re
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Re.Pcre end
type split_result = Re.Pcre.split_result =
Result of a Pcre.full_split
val re : ?flags:flag list -> string -> Re__.Core.t
re ~flags s
creates the regexp s
using the pcre syntax.
re ~flags s
compiles the regexp s
using the pcre syntax.
val extract : rex:regexp -> string -> string array
extract ~rex s
executes rex
on s
and returns the matching groups.
val get_substring : groups -> int -> string
Equivalent to Core.Group.get
.
val get_substring_ofs : groups -> int -> int * int
Equivalent to Core.Group.offset
.
val pmatch : rex:regexp -> string -> bool
Equivalent to Core.execp
.
val full_split : ?max:int -> rex:regexp -> string -> split_result list
val split : rex:regexp -> string -> string list
Deprecated
type substrings = Re.Group.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>