Do you know where your variables are? | |
PerlMonks |
Re^3: "Commifying" a numberby Aristotle (Chancellor) |
on Dec 10, 2006 at 21:29 UTC ( [id://588941]=note: print w/replies, xml ) | Need Help?? |
Nice catch; should have been obvious when I wrote it. Btw, your lookahead assertion needn’t be quantified: (?=\d) will work exactly as (?=\d+) does, but won’t waste time matching extra digits. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|