| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
HTML::FormFu::Constraint::Printable - Printable Characters Constraint
Constraint that checks against the unicode print character class,
(Alphanumeric, punct, and space).
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::Regex, HTML::FormFu::Constraint
Carl Franks cfranks@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
package HTML::FormFu::Constraint::Printable; use Moose; extends 'HTML::FormFu::Constraint::Regex'; sub regex { return qr/^\p{IsPrint}*\z/; } __PACKAGE__->meta->make_immutable; 1; __END__