OLD | NEW |
(Empty) | |
| 1 ~s/foobar/ |
| 2 ~s/foo#{42}bar/ |
| 3 ~S|foobar| |
| 4 ~c"foobar" |
| 5 ~c"foo#{42}bar" |
| 6 ~C'foobar' |
| 7 ~w(foobar)c |
| 8 ~w(foo#{42}bar)s |
| 9 ~W[foobar]a |
| 10 ~s{foobar} |
| 11 ~s{foo#{42}bar} |
| 12 ~S<foobar> |
| 13 |
| 14 """ |
| 15 Foo bar |
| 16 """ |
| 17 |
| 18 ''' |
| 19 Foo bar |
| 20 ''' |
| 21 |
| 22 ~S""" |
| 23 Foo bar |
| 24 """ |
| 25 |
| 26 ~c""" |
| 27 Foo bar |
| 28 """ |
| 29 |
| 30 ~w""" |
| 31 Foo bar |
| 32 """ |
| 33 |
| 34 "" |
| 35 "foo" |
| 36 "fo\"o\ |
| 37 #{42}bar" |
| 38 '' |
| 39 'foo' |
| 40 'fo\'o\ |
| 41 bar' |
| 42 |
| 43 ---------------------------------------------------- |
| 44 |
| 45 [ |
| 46 ["string", ["~s/foobar/"]], |
| 47 ["string", [ |
| 48 "~s/foo", |
| 49 ["interpolation", [ |
| 50 ["delimiter", "#{"], |
| 51 ["number", "42"], |
| 52 ["delimiter", "}"] |
| 53 ]], |
| 54 "bar/" |
| 55 ]], |
| 56 ["string", ["~S|foobar|"]], |
| 57 ["string", ["~c\"foobar\""]], |
| 58 ["string", [ |
| 59 "~c\"foo", |
| 60 ["interpolation", [ |
| 61 ["delimiter", "#{"], |
| 62 ["number", "42"], |
| 63 ["delimiter", "}"] |
| 64 ]], |
| 65 "bar\"" |
| 66 ]], |
| 67 ["string", ["~C'foobar'"]], |
| 68 ["string", ["~w(foobar)c"]], |
| 69 ["string", [ |
| 70 "~w(foo", |
| 71 ["interpolation", [ |
| 72 ["delimiter", "#{"], |
| 73 ["number", "42"], |
| 74 ["delimiter", "}"] |
| 75 ]], |
| 76 "bar)s" |
| 77 ]], |
| 78 ["string", ["~W[foobar]a"]], |
| 79 ["string", ["~s{foobar}"]], |
| 80 ["string", [ |
| 81 "~s{foo", |
| 82 ["interpolation", [ |
| 83 ["delimiter", "#{"], |
| 84 ["number", "42"], |
| 85 ["delimiter", "}"] |
| 86 ]], |
| 87 "bar}" |
| 88 ]], |
| 89 ["string", ["~S<foobar>"]], |
| 90 |
| 91 ["string", ["\"\"\"\r\nFoo bar\r\n\"\"\""]], |
| 92 ["string", ["'''\r\nFoo bar\r\n'''"]], |
| 93 ["string", ["~S\"\"\"\r\nFoo bar\r\n\"\"\""]], |
| 94 ["string", ["~c\"\"\"\r\nFoo bar\r\n\"\"\""]], |
| 95 ["string", ["~w\"\"\"\r\nFoo bar\r\n\"\"\""]], |
| 96 |
| 97 ["string", ["\"\""]], |
| 98 ["string", ["\"foo\""]], |
| 99 ["string", [ |
| 100 "\"fo\\\"o\\\r\n", |
| 101 ["interpolation", [ |
| 102 ["delimiter", "#{"], |
| 103 ["number", "42"], |
| 104 ["delimiter", "}"] |
| 105 ]], |
| 106 "bar\"" |
| 107 ]], |
| 108 ["string", ["''"]], |
| 109 ["string", ["'foo'"]], |
| 110 ["string", ["'fo\\'o\\\r\nbar'"]] |
| 111 ] |
| 112 |
| 113 ---------------------------------------------------- |
| 114 |
| 115 Checks for strings. |
OLD | NEW |