SparkX::Form::Field::Validator::Regex - Validates a field matches a regular expression
version 0.2102
A regular expression validation mix-in. Adds two fields plus action. Makes sure that value matches the expression.
value
regex
RegexRef to match. Required, no default.
Allows you to provide a custom error message for when the match fails. Required, no default.
James Laver L<http://jameslaver.com>
This software is copyright (c) 2009 by James Laver <sprintf qw(%s@%s.%s cpan jameslaver com)>.
<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.
To install Spark::Form, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Spark::Form
CPAN shell
perl -MCPAN -e shell install Spark::Form
For more information on module installation, please visit the detailed CPAN module installation guide.