<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FRexxS%2FGenerateIDs</id>
	<title>Module:Sandbox/RexxS/GenerateIDs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FRexxS%2FGenerateIDs"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GenerateIDs&amp;action=history"/>
	<updated>2026-05-24T03:19:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GenerateIDs&amp;diff=146079&amp;oldid=prev</id>
		<title>imported&gt;RexxS: match the whole string</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GenerateIDs&amp;diff=146079&amp;oldid=prev"/>
		<updated>2019-11-13T02:28:14Z</updated>

		<summary type="html">&lt;p&gt;match the whole string&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
Module:GenerateIDs&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
p = {}&lt;br /&gt;
&lt;br /&gt;
--[[ &lt;br /&gt;
This generates the second ID,&lt;br /&gt;
which is the term in lower-case if it begins with an upper case letter,&lt;br /&gt;
or nothing otherwise.&lt;br /&gt;
--]]&lt;br /&gt;
function p.second(frame)&lt;br /&gt;
	local args = frame:getParent().args&lt;br /&gt;
	local term = args.id or args.term or args[1] or &amp;quot;&amp;quot;&lt;br /&gt;
	if term == &amp;quot;&amp;quot; then&lt;br /&gt;
		args= frame.args&lt;br /&gt;
		term = args.id or args.term or args[1] or &amp;quot;&amp;quot;&lt;br /&gt;
		if term == &amp;quot;&amp;quot; then return nil end&lt;br /&gt;
	end&lt;br /&gt;
	return (term:match(&amp;quot;^%u.*$&amp;quot;) or &amp;quot;&amp;quot;):lower()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;RexxS</name></author>
	</entry>
</feed>