lua-users home
lua-l archive

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


> -- or with Lua string library:
> local c = string.match(text, "<myMarker>(.-)</myMarker>")

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