/usr/share/highlight/langDefs/vb.lang is in highlight-common 3.9-1+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | Description="Visual Basic"
Keywords={
{ Id=1,
List={"and", "as", "begin", "case", "call", "continue", "do", "each", "else", "elseif", "end", "erase", "error", "event", "exit", "false", "for", "function", "get", "gosub", "goto", "if", "implement", "in", "load", "loop", "lset", "me", "mid", "new", "next", "not", "nothing", "on", "or", "property", "raiseevent", "resume", "return", "rset", "select", "set", "stop", "sub", "then", "to", "true", "unload", "until", "wend", "while", "with", "withevents", "attribute", "alias", "as", "", "byref", "", "byval", "", "compare", "", "", "declare", "explicit", "friend", "global", "let", "lib", "", "module", "object", "option", "optional", "preserve", "private", "property", "public", "redim", "", "type", "dim", "const"},
},
{ Id=2,
List={"boolean", "", "byte", "", "currency", "date", "decimal", "", "double", "enum", "integer", "", "long", "single", "static", "string", "variant"},
},
{ Id=2,
Regex=[[\$\S+]],
},
--labels:
{ Id=3,
Regex=[[^\s*(\w+):$]],
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
}
}
Strings={
Delimiter=[["]],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [['|rem|REM|Rem]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\.]]
|