Lua Methods Reference > LuaRegexMatch Methods > next

next
The next method returns a LuaRegexMatch object for the next match.
Syntax
next()
Returns
(LuaRegexMatch). A LuaRegexMatch object for the next match, or nil if there are no matches following this one.