Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
PCRE-based regular expression parsers.
module Regexp : MParser_Sig.Regexp
A pluggable regular expression engine.
include sig ... end
val match_regexp : 's MParser.state -> Regexp.t -> Regexp.substrings option
val make_regexp : string -> Regexp.t
module Tokens : sig ... end
val wrap : Pcre.regexp -> Regexp.t
Wrap a compiled regular expression into an abstract regexp.
Use this to circumvent limitations of Regexp.make
, which is defined as:
let make (rx: string) : Regexp.t = Pcre.regexp ~iflags:(Pcre.cflags `ANCHORED
) rx