mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 08:14:09 +00:00
Merge "Use correct variable in ustring.lua"
This commit is contained in:
commit
2473efdb2a
|
@ -730,7 +730,7 @@ local function find( s, cps, rawpat, pattern, init, noAnchor )
|
|||
local ep = match( sp, pp )
|
||||
if ep then
|
||||
for i = 1, ncapt do
|
||||
captures[i] = getcapt( i, 'Unclosed capture beginning at pattern character ' .. captparen[pp], 2 )
|
||||
captures[i] = getcapt( i, 'Unclosed capture beginning at pattern character ' .. captparen[i], 2 )
|
||||
end
|
||||
return sp, ep - 1, unpack( captures )
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue