Module Re.Perl

Perl-style regular expressions

exception Parse_error
exception Not_supported

Errors that can be raised during the parsing of the regular expression

type opt = [
| `Ungreedy
| `Dotall
| `Dollar_endonly
| `Multiline
| `Anchored
| `Caseless
]
val re : ?opts:opt list -> string -> Re__Core.t

Parsing of a Perl-style regular expression

val compile : Re__Core.t -> Re__Core.re

(Same as Re.compile)

val compile_pat : ?opts:opt list -> string -> Re__Core.re

Regular expression compilation