Regex replacements (\1, \2) not matching

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Sun Nov 11 04:40:35 EST 2018


What am I missing? I put in message box:

put replacetext("one two", "(.+) (.+)", "\2 \1")

I get result:

"\2 \1"

rather than:

"two one"



-- 
Kaveh Bazargan
Director
River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter
<https://twitter.com/kaveh1000> • LinkedIn
<https://www.linkedin.com/in/bazargankaveh/>



More information about the use-livecode mailing list