[Wellington-pm] I must be stupid...

Grant McLean grant at mclean.net.nz
Tue May 5 15:13:18 PDT 2009


On Wed, 2009-05-06 at 10:08 +1200, Brenda Wallace wrote:
> I think you want a g on the end of the regex to make it greedy.

I think you mean 'to make it global' ie: to perform the substitution for
all matches rather than just the first one.

'Greedy' is a whole other ball-o-wax :-)

Cheers
Grant



More information about the Wellington-pm mailing list