lua-users home
lua-l archive

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


> Okay, I revert, "$$" in the replacement string gets replaced by "$" so its
> not literal.
> s.split("search").join("replacement") work literally tough.

So, 'replace' have some surprises for the unaware, but of course the
language offers other mechanisms (non obvious for the unaware) to work
around that. Just like Lua :-)

-- Roberto