4 ms·
>Escaping quotes might be annoying, but I can't think of a possible alternative format where escaping isn't required at all. One nifty way of doing this is cus
by gubbrora 7y ago
>Escaping quotes might be annoying, but I can't think of a possible alternative format where escaping isn't required at all.
One nifty way of doing this is custom quote sequence.
In C++ it works like R"delimiter( raw_characters )delimiter"
As delimiter can be anything it can be chosen not to conflict with the payload.
Bash has had the same trick for here documents for a long while.