From 4b6ed18cf1cdf03f69214a0f4291eae7a31e333a Mon Sep 17 00:00:00 2001 From: Karl Date: Sat, 4 Feb 2017 05:22:03 -0500 Subject: [PATCH] Fix genie.nanorc regex Fix "empty (sub)expression" errors in regex pattern --- genie.nanorc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/genie.nanorc b/genie.nanorc index 67beb58..3c00cb9 100644 --- a/genie.nanorc +++ b/genie.nanorc @@ -1,13 +1,13 @@ syntax "Genie" "\.gs$" -color magenta "\<(uses|namespace|)\>" -color green "\<(bool|byte|char|date|datetime|decimal|double|float|int|long|object|sbyte|short|single|string|ulong|ushort|)\>" -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|)\>" -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|)\>" -color brightcyan "\<(self|super|)\>" -color brightyellow "\<(null|)\>" -color yellow "\<(false|true|)\>" -color cyan "\<(array|assert|dict|list|max|min|print|prop|sizeof|typeof|)\>" +color magenta "\<(uses|namespace)\>" +color green "\<(bool|byte|char|date|datetime|decimal|double|float|int|long|object|sbyte|short|single|string|ulong|ushort)\>" +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)\>" +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)\>" +color brightcyan "\<(self|super)\>" +color brightyellow "\<(null)\>" +color yellow "\<(false|true)\>" +color cyan "\<(array|assert|dict|list|max|min|print|prop|sizeof|typeof)\>" #color brightmagenta "(?<![\w\.])" color brightmagenta "[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?" #color brightmagenta "(?![\w\.])"