![]() |
|
XP is just a number | |
PerlMonks |
matching between 1 to 8 digits but not moreby ozgurp (Beadle) |
on Aug 20, 2009 at 08:50 UTC ( #790029=perlquestion: print w/replies, xml ) | Need Help?? |
ozgurp has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have been trying to match a line that has from 1 to eight digits and if the line has more than eight digits then I want to report an error. I have tried the following but it still matches more than 8 digits. and If I try {,8} than only matches 8 digits not less, not more!
Could you please help?
Back to
Seekers of Perl Wisdom
|
|