ACE VIM mode regex

0

When I use the following regex to substitute a string, it doesn't work:

:%s/\("XS[0-9]\{2\}\)/\1SQ/g

When I open vim in terminal and do the same, it works.

I also tried the:

:%s/("XS[0-9]{2})/\1SQ/g

to make it more javascript like (although I don't know proper javascript syntax)

k-rex
asked 4 years ago190 views
1 Answer
0

I found a workaround - to use CTRL-H to search/replace

k-rex
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions