in reply to Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0

Pay attention to what Corion has suggested. By implementing this yourself, you are very likely to miss edge cases and grey areas that the DBI implementation has already addressed.

  • Comment on Re: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0

Replies are listed 'Best First'.
Re^2: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0
by lancer (Scribe) on Jul 26, 2012 at 17:54 UTC
    Thanks Anonymous Monk, I've used Corion's suggestion. I posted it above.