I tried to search for every word that has
bar-foo and switch them to foo-bar
so I wrote on the find (\w+)-(\w+)
and on the replace $2-$1
and instead of writing foo-bar it wrote $2-$1.
Yes, Regular Expression in search mode is on.
It seems that the Replace Regex doesn't work and been taken literally