Kaveh, You are not missing anything. LC’s implementation of REGEX is. It can’t use back referencing in replacement strings.
> What am I missing? I put in message box: > put replacetext("one two", "(.+) (.+)", "\2 \1") > I get result: > "\2 \1" > rather than: > "two one" James _______________________________________________ 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