I am trying to do a search and replace with regexs.
Suppose I have a foreach(foo1.txt, foo2.txt, foo3.txt, foo4.txt)
.
And I want to put " around each item in the list.
I thought- from the documentation - that this regex would work
(foo[1-4]\.txt) -> "\&"
.
But it doesn't. What am I doing wrong?