diff options
author | Etiene Dalcol <Etiene@users.noreply.github.com> | 2017-09-22 10:10:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 10:10:32 +0100 |
commit | 2228b01ec970d39fe222fed78c46c3dc81b5523e (patch) | |
tree | 3da21aca1185c05e27c350540669fe67c9356b63 | |
parent | c58bd4014434f0fa4f7d7032e0931609e59d17a7 (diff) | |
download | valua-2228b01ec970d39fe222fed78c46c3dc81b5523e.tar.gz valua-2228b01ec970d39fe222fed78c46c3dc81b5523e.tar.bz2 valua-2228b01ec970d39fe222fed78c46c3dc81b5523e.zip |
Update README.md
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -##Valua - Validation for Lua +## Valua - Validation for Lua [![Build Status](https://travis-ci.org/sailorproject/valua.svg?branch=master)](https://travis-ci.org/sailorproject/valua) @@ -14,7 +14,7 @@ Valua is also available through luarocks luarocks install valua ```` -####Usage +#### Usage Example 1 - Just create, chain and use: ```lua valua:new().type("string").len(3,5)("test string!") -- false, "should have 3-5 characters" @@ -26,7 +26,7 @@ reusable_validation("test string!") -- false, "should have 3-5 characters" reusable_validation("test!") -- true ``` -####Current validation functions +#### Current validation functions * alnum() - Checks if string is alphanumeric. |