Standard Library
Thierry Douez
th.douez at gmail.com
Wed Aug 13 05:00:57 EDT 2014
2014-08-13 10:45 GMT+02:00 Charles E Buchwald <charles at buchwald.ca>:
> Hi Thierry,
>
> Do you mean if I put this in the message box, making the replacements you suggest:
> put replaceText("abcd","(ab)(cd)","\2\1")
>
> I should get:
> cdab
>
> Because I get:
> \2\1
>
> What am I missing?
Umm, well, I was trying to say that this is *not* implemented in Livecode,
and the link to the engine contributor forum was to show that I wanted
to do it a few mmonths ago...
You can use back references in the *pattern matching text*,
but not in the replacement text.
Sounds better?
Thierry
More information about the use-livecode
mailing list