package lua_pattern

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Captures are ranges that have been matched in the search string.

type t
val start : t -> int

The index into the search string the capture starts.

val stop : t -> int

The index into the search string one past where the capture stops.

val to_string : t -> string

Extract the string of the capture.

OCaml

Innovation. Community. Security.