Translations:Extension:Scribunto/Lua reference manual/1675/zh

寻找字符串 中第一个匹配的. 如果找到一个匹配，返回 中起止点的序列，否则返回nil. If the pattern has captures,then in a successful match the captured values are also returned after the two indices.