lua-users home
lua-l archive

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


Anchoring at the beginning works but anchoring at the end does not, though.

> print(gsub("string", "^.*", "x"))
x	1
> print(gsub("string", ".*$", "x"))
xx	2

--lhf