| 1 | math.pi |
| 2 | math.pi // some comment |
| 3 | "a//b" |
| 4 | "a \" // b" |
| 5 | "a 'b' // ok" |
| 6 | "http://example.com" |
| 7 | "http://example.com" // comment |
| 8 | "\\\\//" |
| 9 | "\\\\//" // comment |
| 10 | "\"//\"" |
| 11 | "\"\\\"//\"" |
| 12 | "end\"" // comment |
| 13 | "end\\\"" // comment |
| 14 | "π // inside" |
| 15 | "π \\\" // inside" |
| 16 | 1 // 2 // 3 |
| 17 | 42//comment |
| 18 | ===output=== |
| 19 | 3.141592653589793 |
| 20 | 3.141592653589793 |
| 21 | a//b |
| 22 | a " // b |
| 23 | a 'b' // ok |
| 24 | http://example.com |
| 25 | http://example.com |
| 26 | \\// |
| 27 | \\// |
| 28 | "//" |
| 29 | "\"//" |
| 30 | end" |
| 31 | end\" |
| 32 | π // inside |
| 33 | π \" // inside |
| 34 | 1 |
| 35 | 42 |
| 36 |