package re

  1. Overview
  2. Docs

Module Stream.GroupSource

Match a string against a regular expression with capture groups

type stream := t
Sourcetype t
Sourcemodule Match : sig ... end
Sourceval create : stream -> t
Sourceval feed : t -> string -> pos:int -> len:int -> t feed
Sourceval finalize : t -> string -> pos:int -> len:int -> Match.t feed