lpeg.Cp

Creates a position capture

Prototype

lpeg.Cp ()

Description

It matches the empty string and captures the position in the subject where the match occurs. The captured value is a number.

Lua functions

Topics