Module Regexp.CaptureSource

The Capture module defines types and functions for representing variables captured in regular expressions. It uses an index type to uniquely identify a capture in an expression.

type n
Sourcetype 'a map = (n, 'a) Utils.Misc.indexmap
Sourceval gensym : unit -> unit -> n Fix.Indexing.index