groovy Strings and GString literals Slashy string (no interpolation placeholder)


Example

def str = /
multiline string
no need to escape slash
\n
/
assert str instanceof String
assert str.readLines().size() == 4
assert str.contains('\\n')