mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 20:08:20 -07:00
30 lines
555 B
Plaintext
30 lines
555 B
Plaintext
|
''
|
||
|
'fo\'obar'
|
||
|
'foo
|
||
|
$bar
|
||
|
baz'
|
||
|
""
|
||
|
"fo\"obar"
|
||
|
"foo
|
||
|
$bar
|
||
|
baz"
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["string", ["''"]],
|
||
|
["string", ["'fo\\'obar'"]],
|
||
|
["string", ["'foo\r\n$bar\r\nbaz'"]],
|
||
|
["string", [["double-quoted", ["\"\""]]]],
|
||
|
["string", [["double-quoted", ["\"fo\\\"obar\""]]]],
|
||
|
["string", [["double-quoted", [
|
||
|
"\"foo\r\n",
|
||
|
["interpolation", ["$bar"]],
|
||
|
"\r\nbaz\""
|
||
|
]]]]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for strings.
|
||
|
Also checks that string interpolation only applies to double-quoted strings.
|