Fix PercentLiteralDelimiters auto-correct

It now handles regular expressions with interpolation correctly.
Merge pull request #880 from hannestyden/fix-percent-literal-delimiters-regexp-interpolation-autocorrect

Fix PercentLiteralDelimiters auto-correct for regular expression with interpolation