I'm using regex to match all non-quoted property names in my json files. Eclipse has no problem finding the desired matches, but when I want to replace the matched strings with "$2"
, I get this error: Match string has changed in file filename.json. Match skipped
Here's the regex I'm using:
((\w+)\s*(?!['"])(?=:))
Any idea on how to work around this issue?