lua-users home
lua-l archive

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


Suppose I want to write a regex to do:

a=b -> a="b"
dir=/home/blah -> dir="/home/blah"

i.e. take a string, split it based on the first "=", and stick the
latter part in quotes -- can I do this as a regex?

Thanks!