aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 81710d7..25a44c6 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)
[![Coverage Status](https://coveralls.io/repos/github/sailorproject/valua/badge.svg?branch=master)](https://coveralls.io/github/sailorproject/valua?branch=master)
@@ -15,7 +15,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"
@@ -27,7 +27,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.