in reply to Re^2: "Commifying" a number
in thread "Commifying" a number
that almost works
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: "Commifying" a number
by Anonymous Monk on Aug 13, 2009 at 14:47 UTC | |
by Anonymous Monk on Aug 13, 2009 at 14:56 UTC |