Atomic docs

Regex:MatchMany

Regex:MatchMany(text: string): {string}

Every match in the text, in order.

Example

lua
local re = Regex.new("%w+")
for _, word in ipairs(re:MatchMany("one two three")) do
    print(word)
end
↑