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.
In reply to Re: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0
by Anonymous Monk
in thread Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0
by lancer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |