Hash :
694a81b8
Author :
Date :
2020-01-05T20:00:51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
foo: ""
bar: "fo\"obar"
foo: ''
foo: "foo" # bar
bar: 'bar' # foo
multi: '''
one line
second line
third line
'''
multi: """
one line
second line
third line
"""
----------------------------------------------------
[
["key", "foo"], ["punctuation", ":"],
["string", "\"\""],
["key", "bar"], ["punctuation", ":"],
["string", "\"fo\\\"obar\""],
["key", "foo"], ["punctuation", ":"],
["string", "''"],
["key", "foo"], ["punctuation", ":"],
["string", "\"foo\""], ["comment", "# bar"],
["key", "bar"], ["punctuation", ":"],
["string", "'bar'"], ["comment", "# foo"],
["key", "multi"], ["punctuation", ":"],
["string", "'''\r\n\tone line\r\n\tsecond line\r\n\tthird line\r\n'''"],
["key", "multi"], ["punctuation", ":"],
["string", "\"\"\"\r\n\tone line\r\n\tsecond line\r\n\tthird line\r\n\"\"\""]
]
----------------------------------------------------
Checks for strings.