In Xcode 5 I could do search-and-replaces like this:
(regex)
find: [([a-zA-Z]+) ([a-zA-Z]+)]
replace: .1
In order to switch from syntax like [ble bla]
to ble.bla
. But when I do these sorts of searches in Xcode 6, I now turn [ble bla]
into 0.1
.
How do I use groups from the find as part of the replace?
question from:https://stackoverflow.com/questions/26636170/xcode-6-doesnt-recognize-1-2-patterns-anymore