in reply to Re^2: regex search and replace issue
in thread regex search and replace issue

Perl can help prevent you from being careless... if you use strict and warnings. You would have gotten a warning message which would have pointed you to the offending lines.
  • Comment on Re^3: regex search and replace issue (strictures)