Translations:Extension:Scribunto/Lua reference manual/468/en

If  is a table, then the table is queried for every match, using the first capture as the key; if the pattern specifies no captures, then the whole match is used as the key.