Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Input::Validator::ConsUsernContributed)Input::Validator::Constraint::Regexp(3)

NAME
       Input::Validator::Constraint::Regexp - Regexp constraint

SYNOPSIS
	   $validator->field('number')->regexp(qr/^\d+$/);

DESCRIPTION
       Checks if the value mathes provided regular expression. Don't forget
       "^" and "$" symbols if you want to check	the whole value.

METHODS
   "is_valid"
       Validates the constraint.

SEE ALSO
       Input::Validator, Input::Constraint

perl v5.24.1			  2011-Input::Validator::Constraint::Regexp(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Input::Validator::Constraint::Regexp&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help