Scroll to navigation

CGI::ValidOp::Check::text(3pm) User Contributed Perl Documentation CGI::ValidOp::Check::text(3pm)
 

NAME

CGI::ValidOp::Check::text - CGI::ValidOp::Check module to validate text

DESCRIPTION

default
Fails if incoming value contains characters other than Perl's character classes \w, \s, and: ! " ' ( ) * , - . / : ; ? @ \
word
Fails if value contains anything other an Perl's "word" character class ([a-zA-Z0-9_]).
words
Like word above, but can contain spaces as well.
liberal
Expands on default allowing $ = ~ +
hippie
Even more permissive than liberal, including # { } [ ] ^ _ $
Still does not allow <tags> to be embedded though...

AUTHOR

Randall Hansen <legless@cpan.org>

COPYRIGHT

Copyright (c) 2003-2005 Randall Hansen. All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
2009-11-30 perl v5.10.1