string_feature.test 740 Bytes
""
"fo\"o"
"foo\
bar"
"foo"B

@""
@"foo"
@"fo""o"
@"foo"B

""""""
"""fo""o"
bar"""
"""foo"""B

'a'
'\''
'\\'

----------------------------------------------------

[
	["string", "\"\""],
	["string", "\"fo\\\"o\""],
	["string", "\"foo\\\r\nbar\""],
	["string", "\"foo\"B"],

	["string", "@\"\""],
	["string", "@\"foo\""],
	["string", "@\"fo\"\"o\""],
	["string", "@\"foo\"B"],

	["string", "\"\"\"\"\"\""],
	["string", "\"\"\"fo\"\"o\"\r\nbar\"\"\""],
	["string", "\"\"\"foo\"\"\"B"],

	["string", "'a'"],
	["string", "'\\''"],
	["string", "'\\\\'"]
]

----------------------------------------------------

Checks for normal strings, verbatim strings, triple-quoted strings and character literals.