Standard Library

Thierry Douez th.douez at gmail.com
Wed Aug 13 06:21:04 EDT 2014


> You can use back references in the *pattern matching text*,
> but not in the replacement text.

Here is one working:

 put replaceText( "IILLoovveeRReeggeexx", "(.)(?!\1)", empty )

Not sure everybody will agree with the result :)

Regards,

Thierry


------------------------------------------------
Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage




More information about the use-livecode mailing list