This brings to the forum an interesting debate!  Clearly Levente's solution is 
the String redirection for Lukas' solution.

Do this method eases programming for newcomers? Or it creates burden as 
presented in Stan's posting?

AK is IIUC very knowledgeable of tools used in Squeak/Pharo and even though, 
had difficulty to find this particular method!!

my 0.019999...

--
Cesar Rabak


Em 31/12/2009 14:45, Levente Uzonyi <[email protected]> escreveu:


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
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to