From 2228b01ec970d39fe222fed78c46c3dc81b5523e Mon Sep 17 00:00:00 2001 From: Etiene Dalcol Date: Fri, 22 Sep 2017 10:10:32 +0100 Subject: Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d590fcf..e45ff0b 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3-70-g09d2