| 1 |
<http://foo.com/blah_blah> |
| 2 |
<http://foo.com/blah_blah/> |
| 3 |
<http://foo.com/blah_blah_(wikipedia)> |
| 4 |
<http://foo.com/blah_blah_(wikipedia)_(again)> |
| 5 |
<http://www.example.com/wpstyle/?p=364> |
| 6 |
<https://www.example.com/foo/?bar=baz&inga=42&quux> |
| 7 |
<http://✪df.ws/123> |
| 8 |
<http://userid:[email protected]:8080> |
| 9 |
<http://userid:[email protected]:8080/> |
| 10 |
<http://[email protected]> |
| 11 |
<http://[email protected]/> |
| 12 |
<http://[email protected]:8080> |
| 13 |
<http://[email protected]:8080/> |
| 14 |
<http://userid:[email protected]> |
| 15 |
<http://userid:[email protected]/> |
| 16 |
<http://142.42.1.1/> |
| 17 |
<http://142.42.1.1:8080/> |
| 18 |
<http://➡.ws/䨹> |
| 19 |
<http://⌘.ws> |
| 20 |
<http://⌘.ws/> |
| 21 |
<http://foo.com/blah_(wikipedia)#cite-1> |
| 22 |
<http://foo.com/blah_(wikipedia)_blah#cite-1> |
| 23 |
<http://foo.com/unicode_(✪)_in_parens> |
| 24 |
<http://foo.com/(something)?after=parens> |
| 25 |
<http://☺.damowmow.com/> |
| 26 |
<http://code.google.com/events/#&product=browser> |
| 27 |
<http://j.mp> |
| 28 |
<ftp://foo.bar/baz> |
| 29 |
<http://foo.bar/?q=Test%20URL-encoded%20stuff> |
| 30 |
<http://مثال.إختبار> |
| 31 |
<http://例子.测试> |
| 32 |
<http://उदाहरण.परीक्षा> |
| 33 |
<http://-.~_!$&'()*+,;=:%40:80%2f::::::@example.com> |
| 34 |
<http://1337.net> |
| 35 |
<http://a.b-c.de> |
| 36 |
<http://223.255.255.254> |
| 37 |
<https://foo_bar.example.com/> |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
---------------------------------------------------- |
| 42 |
|
| 43 |
[ |
| 44 |
["url", [ |
| 45 |
["punctuation", "<"], |
| 46 |
"http://foo.com/blah_blah", |
| 47 |
["punctuation", ">"] |
| 48 |
]], |
| 49 |
["url", [ |
| 50 |
["punctuation", "<"], |
| 51 |
"http://foo.com/blah_blah/", |
| 52 |
["punctuation", ">"] |
| 53 |
]], |
| 54 |
["url", [ |
| 55 |
["punctuation", "<"], |
| 56 |
"http://foo.com/blah_blah_(wikipedia)", |
| 57 |
["punctuation", ">"] |
| 58 |
]], |
| 59 |
["url", [ |
| 60 |
["punctuation", "<"], |
| 61 |
"http://foo.com/blah_blah_(wikipedia)_(again)", |
| 62 |
["punctuation", ">"] |
| 63 |
]], |
| 64 |
["url", [ |
| 65 |
["punctuation", "<"], |
| 66 |
"http://www.example.com/wpstyle/?p=364", |
| 67 |
["punctuation", ">"] |
| 68 |
]], |
| 69 |
["url", [ |
| 70 |
["punctuation", "<"], |
| 71 |
"https://www.example.com/foo/?bar=baz&inga=42&quux", |
| 72 |
["punctuation", ">"] |
| 73 |
]], |
| 74 |
["url", [ |
| 75 |
["punctuation", "<"], |
| 76 |
"http://✪df.ws/123", |
| 77 |
["punctuation", ">"] |
| 78 |
]], |
| 79 |
["url", [ |
| 80 |
["punctuation", "<"], |
| 81 |
"http://userid:[email protected]:8080", |
| 82 |
["punctuation", ">"] |
| 83 |
]], |
| 84 |
["url", [ |
| 85 |
["punctuation", "<"], |
| 86 |
"http://userid:[email protected]:8080/", |
| 87 |
["punctuation", ">"] |
| 88 |
]], |
| 89 |
["url", [ |
| 90 |
["punctuation", "<"], |
| 91 |
"http://[email protected]", |
| 92 |
["punctuation", ">"] |
| 93 |
]], |
| 94 |
["url", [ |
| 95 |
["punctuation", "<"], |
| 96 |
"http://[email protected]/", |
| 97 |
["punctuation", ">"] |
| 98 |
]], |
| 99 |
["url", [ |
| 100 |
["punctuation", "<"], |
| 101 |
"http://[email protected]:8080", |
| 102 |
["punctuation", ">"] |
| 103 |
]], |
| 104 |
["url", [ |
| 105 |
["punctuation", "<"], |
| 106 |
"http://[email protected]:8080/", |
| 107 |
["punctuation", ">"] |
| 108 |
]], |
| 109 |
["url", [ |
| 110 |
["punctuation", "<"], |
| 111 |
"http://userid:[email protected]", |
| 112 |
["punctuation", ">"] |
| 113 |
]], |
| 114 |
["url", [ |
| 115 |
["punctuation", "<"], |
| 116 |
"http://userid:[email protected]/", |
| 117 |
["punctuation", ">"] |
| 118 |
]], |
| 119 |
["url", [ |
| 120 |
["punctuation", "<"], |
| 121 |
"http://142.42.1.1/", |
| 122 |
["punctuation", ">"] |
| 123 |
]], |
| 124 |
["url", [ |
| 125 |
["punctuation", "<"], |
| 126 |
"http://142.42.1.1:8080/", |
| 127 |
["punctuation", ">"] |
| 128 |
]], |
| 129 |
["url", [ |
| 130 |
["punctuation", "<"], |
| 131 |
"http://➡.ws/䨹", |
| 132 |
["punctuation", ">"] |
| 133 |
]], |
| 134 |
["url", [ |
| 135 |
["punctuation", "<"], |
| 136 |
"http://⌘.ws", |
| 137 |
["punctuation", ">"] |
| 138 |
]], |
| 139 |
["url", [ |
| 140 |
["punctuation", "<"], |
| 141 |
"http://⌘.ws/", |
| 142 |
["punctuation", ">"] |
| 143 |
]], |
| 144 |
["url", [ |
| 145 |
["punctuation", "<"], |
| 146 |
"http://foo.com/blah_(wikipedia)#cite-1", |
| 147 |
["punctuation", ">"] |
| 148 |
]], |
| 149 |
["url", [ |
| 150 |
["punctuation", "<"], |
| 151 |
"http://foo.com/blah_(wikipedia)_blah#cite-1", |
| 152 |
["punctuation", ">"] |
| 153 |
]], |
| 154 |
["url", [ |
| 155 |
["punctuation", "<"], |
| 156 |
"http://foo.com/unicode_(✪)_in_parens", |
| 157 |
["punctuation", ">"] |
| 158 |
]], |
| 159 |
["url", [ |
| 160 |
["punctuation", "<"], |
| 161 |
"http://foo.com/(something)?after=parens", |
| 162 |
["punctuation", ">"] |
| 163 |
]], |
| 164 |
["url", [ |
| 165 |
["punctuation", "<"], |
| 166 |
"http://☺.damowmow.com/", |
| 167 |
["punctuation", ">"] |
| 168 |
]], |
| 169 |
["url", [ |
| 170 |
["punctuation", "<"], |
| 171 |
"http://code.google.com/events/#&product=browser", |
| 172 |
["punctuation", ">"] |
| 173 |
]], |
| 174 |
["url", [ |
| 175 |
["punctuation", "<"], |
| 176 |
"http://j.mp", |
| 177 |
["punctuation", ">"] |
| 178 |
]], |
| 179 |
["url", [ |
| 180 |
["punctuation", "<"], |
| 181 |
"ftp://foo.bar/baz", |
| 182 |
["punctuation", ">"] |
| 183 |
]], |
| 184 |
["url", [ |
| 185 |
["punctuation", "<"], |
| 186 |
"http://foo.bar/?q=Test%20URL-encoded%20stuff", |
| 187 |
["punctuation", ">"] |
| 188 |
]], |
| 189 |
["url", [ |
| 190 |
["punctuation", "<"], |
| 191 |
"http://مثال.إختبار", |
| 192 |
["punctuation", ">"] |
| 193 |
]], |
| 194 |
["url", [ |
| 195 |
["punctuation", "<"], |
| 196 |
"http://例子.测试", |
| 197 |
["punctuation", ">"] |
| 198 |
]], |
| 199 |
["url", [ |
| 200 |
["punctuation", "<"], |
| 201 |
"http://उदाहरण.परीक्षा", |
| 202 |
["punctuation", ">"] |
| 203 |
]], |
| 204 |
["url", [ |
| 205 |
["punctuation", "<"], |
| 206 |
"http://-.~_!$&'()*+,;=:%40:80%2f::::::@example.com", |
| 207 |
["punctuation", ">"] |
| 208 |
]], |
| 209 |
["url", [ |
| 210 |
["punctuation", "<"], |
| 211 |
"http://1337.net", |
| 212 |
["punctuation", ">"] |
| 213 |
]], |
| 214 |
["url", [ |
| 215 |
["punctuation", "<"], |
| 216 |
"http://a.b-c.de", |
| 217 |
["punctuation", ">"] |
| 218 |
]], |
| 219 |
["url", [ |
| 220 |
["punctuation", "<"], |
| 221 |
"http://223.255.255.254", |
| 222 |
["punctuation", ">"] |
| 223 |
]], |
| 224 |
["url", [ |
| 225 |
["punctuation", "<"], |
| 226 |
"https://foo_bar.example.com/", |
| 227 |
["punctuation", ">"] |
| 228 |
]] |
| 229 |
] |
| 230 |
|
| 231 |
|
| 232 |
---------------------------------------------------- |
| 233 |
|
| 234 |
Checks for IRI's. |