[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] syntax: lua: patch series

From: Tom Levy
Subject: Re: [Nano-devel] [PATCH] syntax: lua: patch series
Date: Thu, 4 Jan 2018 14:30:04 +1300

> I have combined related patches into a single one, and pushed the
> resultant three to master


> followed by one of my own

> commit 21cd953e856a05cf5412d5f7ab04960954623f65
> Date: Mon Jan 1 14:55:57 2018 +0100
> Message: "syntax: lua: condense some regexes, tweak comments, reorder things"
> diff syntax/lua.nanorc
> -color brightyellow 
> "\<debug\.(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|getuservalue)\>"
> +color brightyellow 
> "\<debug\.(debug|(get|set)(fenv|hook|info|local|metatable|(up|user)value)|getregistry|traceback|upvalue(id|join))\>"

The new regex accepts "debug.setinfo", which doesn't exist.

Observation: It's harder to compare condensed regexes to an official
list to check that they are up to date. Something to keep in mind for
next time...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]