Debian Codegraph @

tests/extensions/magiclink/magiclink.txt

raw
1 ### Should Pass
2 http://foo.com/blah_blah
3
4 http://foo.com/blah_blah/
5
6 http://foo.com/blah_blah_(wikipedia)
7
8 http://foo.com/blah_blah_(wikipedia)_(again)
9
10 http://www.example.com/wpstyle/?p=364
11
12 https://www.example.com/foo/?bar=baz&inga=42&quux
13
14 http://142.42.1.1/
15
16 http://142.42.1.1:8080/
17
18 http://foo.com/blah_(wikipedia)#cite-1
19
20 http://foo.com/blah_(wikipedia)_blah#cite-1
21
22 http://foo.com/(something)?after=parens
23
24 http://code.google.com/events/#&product=browser
25
26 http://j.mp
27
28 ftp://foo.bar/baz
29
30 http://foo.bar/?q=Test%20URL-encoded%20stuff
31
32 http://1337.net
33
34 http://a.b-c.de
35
36 http://223.255.255.254
37
38 www.google.com
39
40 http://single-word
41
42 www.single-word
43
44 http://localhost/website
45
46 http://3628126748
47
48 # Should Fail
49
50 http://
51
52 http://.
53
54 http://..
55
56 http://../
57
58 http://?
59
60 http://??
61
62 http://??/
63
64 http://#
65
66 http://##
67
68 http://##/
69
70 http://foo.bar?q=Spaces should be encoded
71
72 //
73
74 //a
75
76 ///a
77
78 ///
79
80 http:///a
81
82 foo.com
83
84 rdar://1234
85
86 h://test
87
88 http:// shouldfail.com
89
90 :// should fail
91
92 http://foo.bar/foo(bar)baz quux
93
94 http://-error-.invalid/
95
96 http://-a.b.co
97
98 # These should be valid
99
100 [email protected]
101
102 1234567890123456789012345678901234567890123456789012345678901234@test.org
103
104 first.last@x23456789012345678901234567890123456789012345678901234567890123.test.org
105
106 [email protected]
107
108 [email protected]
109
110 [email protected]
111
112 [email protected]
113
114 [email protected]
115
116 [email protected]
117
118 [email protected]
119
120 [email protected]
121
122 [email protected]
123
124 [email protected]
125
126 [email protected]
127
128 [email protected]
129
130 [email protected]
131
132 [email protected]
133
134 [email protected]
135
136 [email protected]
137
138 [email protected]
139
140 [email protected]
141
142 [email protected]
143
144 [email protected]
145
146 [email protected]
147
148 [email protected]
149
150 [email protected]
151
152 [email protected]
153
154 [email protected]
155
156 [email protected]
157
158 [email protected]
159
160 # These should be invalid
161
162 [email protected],com
163
164 first.last
165
166 [email protected]
167
168 [email protected]
169
170 [email protected]
171
172 first.last@
173
174 abc@[email protected]
175
176 @test.org
177
178 doug@
179
180 [email protected]
181
182 [email protected]
183
184 [email protected]
185
186 hello [email protected]
187
188 test.test.org
189
190 test@@test.org
191
192 [test]@test.org
193
194 ()[]\;:,><@test.org
195
196 test@.
197
198 test@example.
199
200 [email protected]
201
202 NotAnEmail
203
204 .@
205
206 @bar.com
207
208 @@bar.com
209
210 aaa.com
211
212 [email protected]
213
214 [email protected]
215
216 [email protected].
217
218 [email protected]
219
220 [email protected]
221
222 [email protected]
223
224 [email protected]
225
226 # Repo Links
227
228 https://github.com/facelessuser/pymdown-extensions/issues/49
229
230 https://github.com/facelessuser/.repo/issues/49
231
232 https://github.com/facelessuser/pymdown-extensions/pull/87
233
234 https://github.com/facelessuser/pymdown-extensions/commit/6a09fde5c1cad66c660c3aa7792385c52c49e819
235
236 https://github.com/facelessuser/pymdown-extensions/compare/e2ed7e0b3973f3f9eb7a26b8ef7ae514eebfe0d2...90b6fb8711e75732f987982cc024e9bb0111beac
237
238 https://github.com/fake-user/fake-repository/issues/538
239
240 https://github.com/fake-user/.repo/issues/49
241
242 https://github.com/fake-user/fake-repository/pull/539
243
244 https://github.com/fake-user/fake-repository/commit/594b25d53798c30735da5a9be19c06cc94052a16
245
246 https://github.com/fake-user/fake-repository/compare/e2ed7e0b3973f3f9eb7a26b8ef7ae514eebfe0d2...90b6fb8711e75732f987982cc024e9bb0111beac
247
248 https://gitlab.com/fake-user/fake-repository/issues/538
249
250 https://gitlab.com/fake-user/fake-repository/merge_requests/539
251
252 https://gitlab.com/fake-user/fake-repository/commit/594b25d53798c30735da5a9be19c06cc94052a16
253
254 https://gitlab.com/fake-user/fake-repository/compare/e2ed7e0b3973f3f9eb7a26b8ef7ae514eebfe0d2...90b6fb8711e75732f987982cc024e9bb0111beac
255
256 https://bitbucket.org/fake-user/fake-repository/issues/538/
257
258 https://bitbucket.org/fake-user/fake-repository/pull-requests/539/
259
260 https://bitbucket.org/fake-user/fake-repository/issues/538/optional-title
261
262 https://bitbucket.org/fake-user/fake-repository/pull-requests/539/optional-title
263
264 https://bitbucket.org/fake-user/fake-repository/commits/commit/594b25d53798c30735da5a9be19c06cc94052a16
265
266 https://bitbucket.org/fake-user/fake-repository/branches/commits/e2ed7e0b3973f3f9eb7a26b8ef7ae514eebfe0d2..90b6fb8711e75732f987982cc024e9bb0111beac#diff
267
268 <https://github.com/facelessuser/pymdown-extensions/issues/49>
269
270 https://github.com/facelessuser/fake-repository/issues/87
271
272 https://github.com/facelessuser/fake-repository/commit/594b25d53798c30735da5a9be19c06cc94052a16
273
274 https://github.com/facelessuser/fake-repository/compare/e2ed7e0b3973f3f9eb7a26b8ef7ae514eebfe0d2...90b6fb8711e75732f987982cc024e9bb0111beac