NAME ^

t/regex.t - Lua Regex Compiler

SYNOPSIS ^

    % perl -I../lib -Ilua/t lua/t/regex.t

DESCRIPTION ^

Tests Lua Regex Compiler (implemented in languages/lua/src/lib/luaregex.pir).

Individual tests are stored in the rx_* files in the same directory; There is one test per line: each test consists of the following columns (separated by one *or more* tabs):

pattern

The Lua regex to test.

target

The string that will be matched against the pattern. Use '' to indicate an empty string.

result

The expected result of the match.

description

Description of the test.


parrot