N
Nun
I want to use substitution to change a variable which contains
tubing'A'style
so that it instead contains
tubing\'A\'style
I've come very close using:
$COMMENT=~ s/\'/\\\\\'/g;
but that gives me
tubing\\'A\\'style
I've tried many ways but can't seem to find the proper syntax. Can
someone assist? I'd be very grateful
DB
tubing'A'style
so that it instead contains
tubing\'A\'style
I've come very close using:
$COMMENT=~ s/\'/\\\\\'/g;
but that gives me
tubing\\'A\\'style
I've tried many ways but can't seem to find the proper syntax. Can
someone assist? I'd be very grateful
DB