You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Justin Harrison <sh...@doublebagel.com> on 2003/02/19 12:23:53 UTC

must_contain_one_of

Hi,

Can must_contain_one_of contain a range of characters? If so, how? I.e, A-Z,
a-z, etc, much like a regex? Should I just use a regex? Which is best?

Justin


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: must_contain_one_of

Posted by Gerald Richter <ri...@ecos.de>.
>Can must_contain_one_of contain a range of characters? If so, how? I.e,
A-Z,
>a-z, etc, much like a regex? Should I just use a regex? Which is best?

you must just a regex, like

matches_regex => '[a-zA-Z]'

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org