I think the multiline begin/end comments for quotation marks should be something like

[^\\]"

and

[^\\]'

to prevent escaped double- and single-quotation marks from being caught.