in reply to Re^2: How to Modify Only Non-Quoted Words?
in thread How to Modify Only Non-Quoted Words?

If you want to escape quotes oustide of quoted strings, change

( # $2 [^\s"']+ # Something to prefix. )

to

( # $2 (?:[^\s"'\\]|\\.)+ # Something to prefix. )