> 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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to