Module Textmate.RegExp

val _allowCache : bool Stdlib.ref
val setAllowCache : bool -> unit
type cachedResult = {
str : string;
position : int;
matches : Oniguruma.OnigRegExp.Match.t array;
}
type t = {
mutable cachedResult : cachedResult option;
raw : string;
regexp : Oniguruma.OnigRegExp.t option;
}
val raw : t -> string
val toString : t -> string
val emptyMatches : 'a array
val create : string -> t