|Perl Monk, Perl Meditation|
Re^4: Regex exact pattern match problem!by johngg (Abbot)
|on Nov 21, 2008 at 13:19 UTC||Need Help??|
Ah! I missed what you were driving at, having mis-read your input as '33332' not 33,332 '3's :-(
You are quite correct, 1 while ... will make a mull of it in that case.
I'm not sure what you mean regarding saving typing as I am using Multiplicative Operators (your link is slightly broken, BTW).
Update: Further testing shows that the \G solution doesn't work with more than one group of 4 or more 3s.