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 <egor.skriptunoff@gmail.com> wrote:
On Sat, Oct 1, 2016 at 12:33 AM, Charles Heywood <vandor2012@gmail.com> wrote:

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

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