mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-02-13 21:10:19 +08:00
17 lines
295 B
Plaintext
17 lines
295 B
Plaintext
""
|
|
"fo\"o"
|
|
''
|
|
'fo\'o'
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["string", "\"\""],
|
|
["string", "\"fo\\\"o\""],
|
|
["string", "''"],
|
|
["string", "'fo\\'o'"]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for single-quoted and double-quoted strings. |