Debian Codegraph @

tests/snippets/wikitext/magic-link.txt

raw
1 ---input---
2 RFC 1
3 RFC 2
4 RFC 3f
5 rfc 4
6 PMID    114514
7 ISBN 978-3-16-148410-0
8 ISBN 978 3 16-148410 0
9 https://example.com
10 irc://example.com
11 nolink://example.com
12
13 ---tokens---
14 'RFC 1' Name.Function.Magic
15 '\n' Text
16
17 'RFC 2' Name.Function.Magic
18 '\n' Text
19
20 'RFC' Text
21 ' ' Text
22 '3f' Text
23 '\n' Text
24
25 'rfc' Text
26 ' ' Text
27 '4' Text
28 '\n' Text
29
30 'PMID    114514' Name.Function.Magic
31 '\n' Text
32
33 'ISBN 978-3-16-148410-0' Name.Function.Magic
34 '\n' Text
35
36 'ISBN 978 3 16-148410 0' Name.Function.Magic
37 '\n' Text
38
39 'https://example.com' Name.Label
40 '\n' Text
41
42 'irc://example.com' Name.Label
43 '\n' Text
44
45 'nolink' Text
46 ':' Text
47 '/' Text
48 '/' Text
49 'example' Text
50 '.' Text
51 'com' Text
52 '\n' Text