<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_match</id>
	<title>Module:If match - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_match"/>
	<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:If_match&amp;action=history"/>
	<updated>2026-04-06T15:56:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=Module:If_match&amp;diff=6875&amp;oldid=prev</id>
		<title>Admin coral island: Created page with &quot;local p = {} local lib = require(&#039;Module:Feature&#039;)  function p.main(frame) 	local args = require(&#039;Module:Arguments&#039;).getArgs(frame) 	if lib.isEmpty(args[1]) then return &#039;&#039; end 	 	return p._main(args) end  function p._main(args) 	local str = tostring(args[1]) 	local truthy = args[&#039;true&#039;] or &#039;&#039; 	local falsey = args[&#039;false&#039;] or lib.ternary(lib.isNotEmpty(args[&#039;index&#039;]), 0, &#039;&#039;) 	 	for I,regex in ipairs(args) do 		if I == 1 then 		elseif args[I] and string.match(str, tostring...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:If_match&amp;diff=6875&amp;oldid=prev"/>
		<updated>2023-08-09T10:29:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {} local lib = require(&amp;#039;Module:Feature&amp;#039;)  function p.main(frame) 	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame) 	if lib.isEmpty(args[1]) then return &amp;#039;&amp;#039; end 	 	return p._main(args) end  function p._main(args) 	local str = tostring(args[1]) 	local truthy = args[&amp;#039;true&amp;#039;] or &amp;#039;&amp;#039; 	local falsey = args[&amp;#039;false&amp;#039;] or lib.ternary(lib.isNotEmpty(args[&amp;#039;index&amp;#039;]), 0, &amp;#039;&amp;#039;) 	 	for I,regex in ipairs(args) do 		if I == 1 then 		elseif args[I] and string.match(str, tostring...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
local lib = require(&amp;#039;Module:Feature&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame)&lt;br /&gt;
	if lib.isEmpty(args[1]) then return &amp;#039;&amp;#039; end&lt;br /&gt;
	&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local str = tostring(args[1])&lt;br /&gt;
	local truthy = args[&amp;#039;true&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local falsey = args[&amp;#039;false&amp;#039;] or lib.ternary(lib.isNotEmpty(args[&amp;#039;index&amp;#039;]), 0, &amp;#039;&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	for I,regex in ipairs(args) do&lt;br /&gt;
		if I == 1 then&lt;br /&gt;
		elseif args[I] and string.match(str, tostring(args[I])) then&lt;br /&gt;
			&lt;br /&gt;
			if lib.isNotEmpty(args[&amp;#039;true&amp;#039; .. tostring(I-1)]) then&lt;br /&gt;
				return args[&amp;#039;true&amp;#039; .. tostring(I-1)]&lt;br /&gt;
			elseif lib.isNotEmpty(args[&amp;#039;index&amp;#039;]) then&lt;br /&gt;
				return I-1&lt;br /&gt;
			else&lt;br /&gt;
				return truthy&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return falsey&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Admin coral island</name></author>
	</entry>
</feed>