Add validation rule for user defined regular expression.
Make predicates return true or false only
Merge pull request #42 from palango/master

Add regex validation rule