Module Stream.Group

Match a string against a regular expression with capture groups

type stream := t
type t
module Match : sig ... end
val create : stream -> t
val feed : t -> string -> pos:int -> len:int -> t feed
val finalize : t -> string -> pos:int -> len:int -> Match.t feed