aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtiene Dalcol <Etiene@users.noreply.github.com>2017-09-22 10:10:32 +0100
committerGitHub <noreply@github.com>2017-09-22 10:10:32 +0100
commit2228b01ec970d39fe222fed78c46c3dc81b5523e (patch)
tree3da21aca1185c05e27c350540669fe67c9356b63
parentc58bd4014434f0fa4f7d7032e0931609e59d17a7 (diff)
downloadvalua-2228b01ec970d39fe222fed78c46c3dc81b5523e.tar.gz
valua-2228b01ec970d39fe222fed78c46c3dc81b5523e.tar.bz2
valua-2228b01ec970d39fe222fed78c46c3dc81b5523e.zip
Update README.md
-rw-r--r--README.md6
1 files 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.