On 30/05/02 04:06 -0400, Oren Ben-Kiki wrote:
> Rolf Veen [mailto:rolf.veen@...] wrote:
> > MLB (my limited brain) cannot figure out
> > why escaped_single_quote is
> > different from all other escaped_
> > in that it is '' instead of \'.
> > What is the reason for that ?
> Because if we use "\'" for escaping "'" we'd also need to escape "\" as
> "\\", and we'd end up with something basically identical to a double quoted
> scalar. This way there's only one character that needs to be escaped. FWIW,
> it is the way that SQL uses to escape single quotes.
Tcl too. Or so I've heard.