in reply to Re: regex escaping forward slash in regex
in thread regex escaping forward slash in regex

Dumb search-and-replaces always strike fear in my heart

I do dumb search-and-replaces a hundred times a day, mostly with my editor's search and replace box. There's nothing wrong with it if the process is supervised.

In the OP's case, he can use a visual diff tool — I love Beyond Compare — to compare the pre- and post-change versions of his files and fix the mistakes.

And then he has to do a manual search to change the ones the tool didn't catch.

  • Comment on Re^2: regex escaping forward slash in regex