SparkX::Form::Field::Validator::Regex - Validates a field matches a regular expression
A regular expression validation mix-in. Adds two fields plus action. Makes sure that
value matches the expression.
regex => Str
RegexRef to match. Required, no default.
errmsg_regex => Str
Allows you to provide a custom error message for when the match fails. Required, no default.
James Laver L<http://jameslaver.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by James Laver
<sprintf qw(%s@%s.%s cpan jameslaver com)>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.