1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

Fix syntax error: "empty (sub)expression"

Nano errors on startup due to empty OR condition in regex
This commit is contained in:
EarthCitizen 2016-03-03 10:39:44 -07:00
parent 51d79223f8
commit cc32a88dc7

View File

@ -37,7 +37,7 @@ color brightyellow "table\.\<(concat|insert|maxn|move|pack|remove|sort|unpack)\>
color brightyellow "utf8\.\<(char|charpattern|codes|codepoint|len|offset)\>" color brightyellow "utf8\.\<(char|charpattern|codes|codepoint|len|offset)\>"
color brightyellow "coroutine\.\<(create|isyieldable|resume|running|status|wrap|yield)\>" color brightyellow "coroutine\.\<(create|isyieldable|resume|running|status|wrap|yield)\>"
color brightyellow "debug\.\<(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|getuservalue|setfenv|sethook|setlocal|setmetatable|setupvalue|setuservalue|traceback|upvalueid|upvaluejoin)\>" color brightyellow "debug\.\<(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|getuservalue|setfenv|sethook|setlocal|setmetatable|setupvalue|setuservalue|traceback|upvalueid|upvaluejoin)\>"
color brightyellow "bit32\.\<(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift|)\>" color brightyellow "bit32\.\<(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)\>"
# File handle methods # File handle methods
color brightyellow "\:\<(close|flush|lines|read|seek|setvbuf|write)\>" color brightyellow "\:\<(close|flush|lines|read|seek|setvbuf|write)\>"