Jess Robinson > HTML-Widget-1.05 > HTML::Widget::Constraint::Regex

Download:
HTML-Widget-1.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source   Latest Release: HTML-Widget-1.11

NAME ^

HTML::Widget::Constraint::Regex - Regex Constraint

SYNOPSIS ^

    my $c = $widget->constraint( 'Regex', 'foo' );
    $c->regex(qr/^\w+$/);

DESCRIPTION ^

Regex Constraint.

METHODS ^

$self->regex($regex)

$self->validate($value)

AUTHOR ^

Sebastian Riedel, sri@oook.de

LICENSE ^

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: