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

Srdjan srdjan at catalyst.net.nz
Tue May 5 17:01:18 PDT 2009


And with perl you get greediness straight away for free.

Srdjan

Grant McLean wrote:
> 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
>
> _______________________________________________
> Wellington-pm mailing list
> Wellington-pm at pm.org
> http://mail.pm.org/mailman/listinfo/wellington-pm
>
>
>   


More information about the Wellington-pm mailing list