Welcome to the Monastery | |
PerlMonks |
Re: Matrix Formationby CountZero (Bishop) |
on Jun 17, 2003 at 19:53 UTC ( [id://266622]=note: print w/replies, xml ) | Need Help?? |
In the 3x3 matrix: a, b, c, d and g cannot be zero, so only (combined) numbers which are accepted by the following regex are candidates /[1-9][1-9][1-9][1-9][0-9][0-9][1-9]0-9][0-9]/ This should weed out a bit more numbers than your regex. CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Seekers of Perl Wisdom
|
|