OLD | NEW |
(Empty) | |
| 1 "" |
| 2 "fo\"o" |
| 3 "foo\ |
| 4 bar" |
| 5 "foo"B |
| 6 |
| 7 @"" |
| 8 @"foo" |
| 9 @"fo""o" |
| 10 @"foo"B |
| 11 |
| 12 """""" |
| 13 """fo""o" |
| 14 bar""" |
| 15 """foo"""B |
| 16 |
| 17 'a' |
| 18 '\'' |
| 19 '\\' |
| 20 |
| 21 ---------------------------------------------------- |
| 22 |
| 23 [ |
| 24 ["string", "\"\""], |
| 25 ["string", "\"fo\\\"o\""], |
| 26 ["string", "\"foo\\\r\nbar\""], |
| 27 ["string", "\"foo\"B"], |
| 28 |
| 29 ["string", "@\"\""], |
| 30 ["string", "@\"foo\""], |
| 31 ["string", "@\"fo\"\"o\""], |
| 32 ["string", "@\"foo\"B"], |
| 33 |
| 34 ["string", "\"\"\"\"\"\""], |
| 35 ["string", "\"\"\"fo\"\"o\"\r\nbar\"\"\""], |
| 36 ["string", "\"\"\"foo\"\"\"B"], |
| 37 |
| 38 ["string", "'a'"], |
| 39 ["string", "'\\''"], |
| 40 ["string", "'\\\\'"] |
| 41 ] |
| 42 |
| 43 ---------------------------------------------------- |
| 44 |
| 45 Checks for normal strings, verbatim strings, triple-quoted strings and character
literals. |
OLD | NEW |