lua-users home
lua-l archive

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

Romulo Bahiense wrote:
print((string.gsub('Hi, %NAME! Is %EMAIL your email?', '%%(%w+)',row)))
 > Hi, John Doe! Is your email?

Oh, I thought the patch was for char-by-char substitution mapping.
I agree that general substitution mapping would probably be the
common case for gsub.

Adam D. Moss   -