2018-12-19 14:09:39 +08:00

28 lines
505 B
Plaintext

(
""
"foo
bar"
"\"foo\""
"foo\tbar"
"`foo'"
"FOO."
)
----------------------------------------------------
[
["punctuation", "("],
["string", [ "\"\"" ]],
["string", [ "\"foo\r\nbar\"" ]],
["string", [ "\"\\\"foo\\\"\"" ]],
["string", [ "\"foo\\tbar\"" ]],
["string", [ "\"", ["symbol", "`foo'"], "\"" ]],
["string", [ "\"", ["argument", "FOO"], ".\"" ]],
["punctuation", ")"]
]
----------------------------------------------------
Checks for all string variations.