mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
52 lines
994 B
Plaintext
52 lines
994 B
Plaintext
''
|
|
'foo'
|
|
'foo\
|
|
bar'
|
|
""
|
|
"foo"
|
|
"foo\
|
|
bar"
|
|
"foo #{interpolation} bar"
|
|
''''''
|
|
'''foo'''
|
|
'''foo
|
|
bar'''
|
|
|
|
""""""
|
|
"""foo"""
|
|
"""foo
|
|
bar"""
|
|
"""foo #{interpolation} bar"""
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["string", "''"],
|
|
["string", "'foo'"],
|
|
["string", "'foo\\\r\nbar'"],
|
|
["string", ["\"\""]],
|
|
["string", ["\"foo\""]],
|
|
["string", ["\"foo\\\r\nbar\""]],
|
|
["string", [
|
|
"\"foo ",
|
|
["interpolation", "#{interpolation}"],
|
|
" bar\""
|
|
]],
|
|
|
|
["multiline-string", "''''''"],
|
|
["multiline-string", "'''foo'''"],
|
|
["multiline-string", "'''foo\r\nbar'''"],
|
|
["multiline-string", ["\"\"\"\"\"\""]],
|
|
["multiline-string", ["\"\"\"foo\"\"\""]],
|
|
["multiline-string", ["\"\"\"foo\r\nbar\"\"\""]],
|
|
["multiline-string", [
|
|
"\"\"\"foo ",
|
|
["interpolation", "#{interpolation}"],
|
|
" bar\"\"\""
|
|
]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for single-line and multi-line strings and block strings.
|
|
Also checks for string interpolation inside double-quoted strings. |