1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
---input---
Windows Registry Editor Version 5.00
; comment
[HKEY_CURRENT_USER\SOFTWARE\Pygments]
@="Hello"
"Key With Spaces"="Something"
"Key With ="="With Quotes"
"Key With = 2"=dword:123
"Key" = "Value"
"Hex"=hex(0):1,2,3,a,b,f
"Hex 2"=hex(5):80,00,00,ff
[-HKEY_CURRENT_USER\SOFTWARE\Pygments\Subkey]
[HKEY_CURRENT_USER\SOFTWARE\Pygments\Subkey2]
; comment
@=-
"Foo"=-
"Foo"="Value"
---tokens---
'Windows Registry Editor Version 5.00' Text
'\n' Text
'; comment' Comment.Single
'\n\n' Text
'[' Keyword
'HKEY_CURRENT_USER' Name.Builtin
'\\SOFTWARE\\Pygments]' Keyword
'\n' Text
'@' Name.Attribute
'=' Operator
'"Hello"' Literal.String
'\n' Text
'"Key With Spaces"' Name.Attribute
'=' Operator
'"Something"' Literal.String
'\n' Text
'"Key With ="' Name.Attribute
'=' Operator
'"With Quotes"' Literal.String
'\n' Text
'"Key With = 2"' Name.Attribute
'=' Operator
'dword' Name.Variable
':' Punctuation
'123' Literal.Number
'\n' Text
'"Key"' Name.Attribute
' ' Text
'=' Operator
' ' Text
'"Value"' Literal.String
'\n' Text
'"Hex"' Name.Attribute
'=' Operator
'hex(0)' Name.Variable
':' Punctuation
'1,2,3,a,b,f' Literal.Number
'\n' Text
'"Hex 2"' Name.Attribute
'=' Operator
'hex(5)' Name.Variable
':' Punctuation
'80,00,00,ff' Literal.Number
'\n\n' Text
'[' Keyword
'-' Operator
'HKEY_CURRENT_USER' Name.Builtin
'\\SOFTWARE\\Pygments\\Subkey]' Keyword
'\n\n' Text
'[' Keyword
'HKEY_CURRENT_USER' Name.Builtin
'\\SOFTWARE\\Pygments\\Subkey2]' Keyword
'\n' Text
'; comment' Comment.Single
'\n' Text
'@' Name.Attribute
'=' Operator
'-' Operator
'\n' Text
'"Foo"' Name.Attribute
'=' Operator
'-' Operator
'\n' Text
'"Foo"' Name.Attribute
'=' Operator
'"Value"' Literal.String
'\n' Text
|