lua-Silva


your personal string matching expert


Overview

lua-Silva allows to match a URI against various kind of pattern : URI Template, shell, Lua regex, PCRE regex, ...

Some of them allow to capture parts of URI.

lua-Silva was inspired by Mustermann ( a part of Sinatra / Ruby ).

Status

lua-Silva is is now stable.

It's developed for Lua 5.1, 5.2, 5.3 & 5.4.

Download

lua-Silva source can be downloaded from Framagit.

Installation

lua-Silva is available via LuaRocks:

luarocks install lua-silva

lua-Silva is available via opm:

opm get fperrad/lua-silva

or manually, with:

make install

Test

The test suite requires the module lua-TestAssertion.

make test

Copyright © 2017-2024 François Perrad

This library is licensed under the terms of the MIT/X11 license, like Lua itself.