canRawQuote
private fn
bool canRawQuote(string s, char q) @safe pureChecks whether content can be written verbatim as a raw string.
Raw string literals cannot contain their own quote character or any line break.
Parameters
s | The string content |
q | The quote character of the style |
Returns
true if the content is safe for raw-quoting.