lua-users home
lua-l archive

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


Then you can use ([^ =]+)%s*=%s*([^ ]+)

On Sat, Oct 1, 2016 at 6:32 AM Egor Skriptunoff <[email protected]> wrote:
On Sat, Oct 1, 2016 at 12:33 AM, Charles Heywood <[email protected]> wrote:

You can also gmatch [^,]+ then match ([^=]+)=(.+)

A comma may be followed by a space which is not part of key
--