in reply to Re^2: Replacing a block of text inside two keys with another block of text
in thread Replacing a block of text inside two keys with another block of text

Your "sample data" sometimes omits the underscore in SEARCH_PATHS. If your real data does that, maybe that's one of your problems? If it doesn't, please stop giving us sample data that isn't representative.
  • Comment on Re^3: Replacing a block of text inside two keys with another block of text