external index : t -> string -> int = "caml_regexp_index"