HTML::Widget::Constraint::Regex3pm
Regex constraint
Usage
my $c = $widget->constraint( 'Regex', 'foo' );$c->regex(qr/^\w+$/);
Overview
Regex Constraint.
The Regex constraint always allows an "undef" value or an empty string. If you don't want this behaviour, also use the HTML::Widget::Constraint::All.
Methods
regex
Arguments: qr/ regex /
validate
Releases
10 releases since Debian 4.0 (Etch); the text changed 7 times.