1 ## Here is an example for Genie.
5 color magenta "\<(uses|namespace)\>"
8 color green "\<(bool|byte|char|date|datetime|decimal|double|float|int|long|object|sbyte|short|single|string|ulong|ushort)\>"
11 color brightred "\<(const|class|construct|def|delegate|enum|exception|extern|event|final|get|init|inline|interface|override|prop|return|set|static|struct|var|virtual|weak)\>"
14 color red "\<(abstract|as|and|break|case|cast|continue|default|delete|div|do|downto|dynamic|else|ensures|except|extern|finally|for|if|implements|in|isa|is|lock|new|not|of|out|or|otherwise|pass|private|raise|raises|readonly|ref|requires|to|try|unless|when|while)\>"
17 color brightcyan "\<(self|super)\>"
20 color brightyellow "\<(null)\>"
23 color yellow "\<(false|true)\>"
26 color cyan "\<(array|assert|dict|list|max|min|print|prop|sizeof|typeof)\>"
29 color brightmagenta "[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?"
32 color brightgreen "/(\\.|[^/])*/"
34 # Double quoted string.
35 color brightblue ""(\\.|[^"])*""
37 # Single quoted string.
38 color brightblue "'(\\.|[^'])*'"
41 color blue start=""""" end="""""
44 color yellow "(^|[[:space:]])//.*"
47 color yellow start="/\*" end="\*/"
49 # Trailing whitespace.
50 color ,green "[[:space:]]+$"
52 # Spaces in front or rear of tabs.
53 color ,red " + +| + +"