class type regexp = object .. end
object
end
method exec : string -> string array
string -> string array
method test : string -> bool
string -> bool