Module Brr.RegexpSource
RegExp objects and matching.
create ?flags s is the regexp object for s using flags if specified.
exec r s executes regular expression r on s at index last_index.
test r s tests s against r and returns true if it matches.
fold_matches r f s acc folds f over the non-overlapping matches of r in s starintg with acc.
replace r ~by s replaces the first match of r by by in s.
replace_all r ~by s replaces all non-overlapping matches of r by by in s.
search r s is the first index of s that matches r or -1 if there is no match.
split r s splits s on delimiters matched by r.
Properties
last_index r is the index at which to start (sic) the next match.
set_last_index r i sets the last_index in r to i.
dot_all r is true if r has the s flag.
flags r are the flags of r.
global r is true if r has the g flag.
has_indices r is true if r has the d flag.
ignore_case r is true if r has the i flag.
multiline r is true if r has the m flag.
source r is the source text of r.
sticky r is true if r has the y flag.
unicode r is true if r has the u flag.
unicode_sets r is true if r has the v flag.