lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
If you don't know the tag name, you can use
	local n,c = string.match(text,"<(%w+)>(.-)</%1>")

Yes, certainly. (I just wanted to give a simple answer to the original's poster's question).

--
Shmuel