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
|
---input---
root:x:0:
sudo:x:1:syslog,user
syslog:x:2:
#adm:x:3:
user:x:1000
---tokens---
'root' Text
':' Punctuation
'x' Literal.String
':' Punctuation
'0' Literal.Number
':' Punctuation
'\n' Text.Whitespace
'sudo' Text
':' Punctuation
'x' Literal.String
':' Punctuation
'1' Literal.Number
':' Punctuation
'syslog,user' Text
'\n' Text.Whitespace
'syslog' Text
':' Punctuation
'x' Literal.String
':' Punctuation
'2' Literal.Number
':' Punctuation
'\n' Text.Whitespace
'#adm:x:3:' Comment
'\n' Text.Whitespace
'\n' Text.Whitespace
'user' Text
':' Punctuation
'x' Literal.String
':' Punctuation
'1000' Literal.Number
'\n' Text.Whitespace
|