aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.