sig val search : ?offset:int -> ?backwards:bool -> Str.regexp -> string -> (int * int * string) BatEnum.t end