OLD | NEW |
(Empty) | |
| 1 "a simple string" |
| 2 "has $interpolated variables" |
| 3 "has $($nesting -and 'interpolation')" |
| 4 "string `"with`" escaping" |
| 5 'non-interpolated $string' |
| 6 'also ''with'' escaping' |
| 7 '''twas also escaped' |
| 8 an empty '' string |
| 9 'can''t' |
| 10 |
| 11 ---------------------------------------------------- |
| 12 |
| 13 [ |
| 14 ["string", ["\"a simple string\""]], |
| 15 ["string", [ |
| 16 "\"has ",["variable", "$interpolated"]," variables\""] |
| 17 ], |
| 18 ["string", [ |
| 19 "\"has", |
| 20 [ |
| 21 "function", |
| 22 [ |
| 23 " $", |
| 24 ["punctuation", "("], |
| 25 ["variable", "$nesting"], |
| 26 ["operator", "-and"], |
| 27 ["string", "'interpolation'"], |
| 28 ["punctuation", ")"] |
| 29 ] |
| 30 ], |
| 31 "\""] |
| 32 ], |
| 33 ["string", ["\"string `\"with`\" escaping\""]], |
| 34 ["string", "'non-interpolated $string'"], |
| 35 ["string", "'also ''with'' escaping'"], |
| 36 ["string", "'''twas also escaped'"], |
| 37 "\r\nan empty ",["string", "''"], " string\r\n", |
| 38 ["string", "'can''t'"] |
| 39 ] |
| 40 |
| 41 ---------------------------------------------------- |
| 42 |
| 43 Testing strings |
OLD | NEW |