in reply to subroutine within regex quantifier?
Seems clearer to me, as well as *possible*.while (length($target_letters) != WORD_LENGTH && $target_letters =~ /[^A-Za-z]/) { # prompt }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: subroutine within regex quantifier?
by hagen (Friar) on Dec 04, 2001 at 10:26 UTC |