Sujet : Re: perl test
De : retroguy (at) *nospam* novabbs.com (Retro Guy)
Groupes : misc.test comp.lang.miscDate : 07. Sep 2024, 00:51:15
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <fc1e9bc33cbbffe2731dc2e3931adeaf8fbeceff@i2pn2.org>
References : 1 2 3 4 5 6
User-Agent : 40tude_Dialog/2.0.15.41
On Fri, 6 Sep 2024 23:38:08 -0000 (UTC), Lawrence D'Oliveiro wrote:
On Fri, 6 Sep 2024 12:06:32 +0000, Retro Guy wrote:
On Fri, 6 Sep 2024 2:14:33 +0000, Lawrence D'Oliveiro wrote:
«str-expr».replace('"', '""')
The Perl code above escapes quotes, so adds '\' before any "
All right, then:
«str-expr».replace('"', '\"')
That's readable and makes sense.
Now I'm back to php where I somewhat know what I'm doing :)