Subject: | Omniholder replacement on MySQL fails when single quotes used eleswhere in query |
Seems regex was missing a quote. This change fixes it:
-my $quoted_mysql = qr/(?:(?:[^\\']*(?:\\.[^\\']*)*)'|"(?:[^\\"]*(?:\\.[^\\"]*)*)")*/;
+my $quoted_mysql = qr/(?:'(?:[^\\']*(?:\\.[^\\']*)*)'|"(?:[^\\"]*(?:\\.[^\\"]*)*)")*/;