module Re_perl:sig
..end
Perl-style regular expressions
exception Parse_error
exception Not_supported
Errors that can be raised during the parsing of the regular expression
typeopt =
[ `Anchored | `Caseless | `Dollar_endonly | `Dotall | `Multiline | `Ungreedy ]
val re : ?opts:opt list -> string -> Re.t
Parsing of a Perl-style regular expression
val compile : Re.t -> Re.re
Regular expression compilation
val compile_pat : ?opts:opt list -> string -> Re.re
(Same as Re.compile
)