Allow attributes to be validated against regexes
Merge pull request #9 from perlpong/attribute_constraints_in_hashref

Allow attributes to be validated against regexes using hashref(s)