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 in beta stage.

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

Download

lua-Silva source can be downloaded from GitHub.

Installation

lua-Silva is available via LuaRocks:

luarocks install lua-silva

or manually, with:

make install

Test

The test suite requires the module lua-TestMore.

make test

Copyright © 2017-2018 François Perrad OpenHUB LinkedIn

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