On Thu, 31 Dec 2009, Lukas Renggli wrote:

>> Anyway, the +10 bounty for a regex solution is still open!
>
> 'bar' asRegex copy: 'foobarqux' replacingMatchesWith: 'XYZ'

Or: 'foobarqux' copyWithRegex: 'bar' matchesReplacedWith: 'XYZ'


Levente

>
> Lukas
>
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to