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

Looks for the first match of  in the string. If it finds one, then  returns the captures from the pattern; otherwise it returns nil. If  specifies no captures, then the whole match is returned.