Kevin Pfeiffer wrote:
>
> This is my "only slightly fancier" version - still uses DATA though;
> (critique/advice always welcome):
>
> #!/usr/bin/perl
> use warnings;
> use strict;
>
> # zero_or_more
>
> my $valid_chars = get_valid_chars();
> my $regex = qr{^[$valid_chars]*$};
These might be a li
In article <[EMAIL PROTECTED]>, Janek Schleicher
wrote:
> Pedro Antonio Reche wrote at Wed, 11 Jun 2003 13:38:18 -0500:
>
>> I would like to match a string if it has only cero or more of a defined
>> set of characters.
>> For example:
>> if "GACT" are the characters, then
>>
>> GACTNGACT ## T
Pedro Antonio Reche wrote at Wed, 11 Jun 2003 13:38:18 -0500:
> I would like to match a string if it has only cero or more of a defined
> set of characters.
> For example:
> if "GACT" are the characters, then
>
> GACTNGACT ## This string should not be matched because it has the extra
> charact
Pedro Antonio Reche wrote:
> Hi All;
>
> I would like to match a string if it has only cero or more of a defined
> set of characters.
> For example:
> if "GACT" are the characters, then
>
> GACTNGACT ## This string should not be matched because it has the extra
> character N
> GACCC ## This c