Module:String: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
update renamed variable
(export str._match function for use in other modules - syncing from sandbox)
(update renamed variable)
Line 149:
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plainplain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' );
Line 219:
local nomatch = new_args['nomatch'];
 
return str._match( s, pattern, start, match_index, plainplain_flag, nomatch )
end
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu