Added failing test for quotes in statements with regex-significant characters in tokens
(cherry picked from commit 38a82591b1ef8185a8768361f07363e3cdf08d62)