hnix/tests/eval-compare/ind-string-05.nix
2018-04-10 14:57:50 -05:00

12 lines
290 B
Nix

let
s5 = ''
The \ is not special here.
' can be followed by any character except another ', e.g. 'x'.
Likewise for $, e.g. $$ or $varName.
But ' followed by ' is special, as is $ followed by {.
If you want them, use anti-quotations: ${"''"}, ${"\${"}.
'';
in s5