<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Validator.lua</id>
	<title>Validator.lua - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Validator.lua"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Validator.lua&amp;action=history"/>
	<updated>2026-04-12T10:26:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Validator.lua&amp;diff=6899&amp;oldid=prev</id>
		<title>Dubiousjim: Category:Lua</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Validator.lua&amp;diff=6899&amp;oldid=prev"/>
		<updated>2012-03-12T09:07:04Z</updated>

		<summary type="html">&lt;p&gt;Category:Lua&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:07, 12 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  true&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Lua]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dubiousjim</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Validator.lua&amp;diff=1906&amp;oldid=prev</id>
		<title>Ms13sp at 15:11, 22 November 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Validator.lua&amp;diff=1906&amp;oldid=prev"/>
		<updated>2007-11-22T15:11:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== is_ipv4 (function) ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;INPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function required the following inputs/parameters.&lt;br /&gt;
* String in form of ip address&lt;br /&gt;
** Example: 192.168.24.10&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OUTPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function deliverers the following output/parameters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CODING EXAMPLE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 -- Include/Call for this library&lt;br /&gt;
 require(&amp;quot;validator&amp;quot;)&lt;br /&gt;
 -- Check if url is a folder&lt;br /&gt;
 liboutput = validator.is_ip(&amp;quot;192.168.24.10&amp;quot;)&lt;br /&gt;
If the string is a valid ip &amp;#039;liboutput&amp;#039; would contain string:&lt;br /&gt;
 true&lt;br /&gt;
If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===is_mac (function) ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;INPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function required the following inputs/parameters.&lt;br /&gt;
* String in form of mac address&lt;br /&gt;
** Example: 00:ca:ba:de:00:12&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OUTPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function deliverers the following output/parameters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CODING EXAMPLE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 -- Include/Call for this library&lt;br /&gt;
 require(&amp;quot;validator&amp;quot;)&lt;br /&gt;
 -- Check if url is a folder&lt;br /&gt;
 liboutput = validator.is_mac(&amp;quot;00:ca:ba:de:00:12&amp;quot;)&lt;br /&gt;
If the string is a valid mac address &amp;#039;liboutput&amp;#039; would contain string:&lt;br /&gt;
 true&lt;br /&gt;
If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===is_integer(function)===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;INPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function required the following inputs/parameters.&lt;br /&gt;
* Number&lt;br /&gt;
** Example: 100&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OUTPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function deliverers the following output/parameters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CODING EXAMPLE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 -- Include/Call for this library&lt;br /&gt;
 require(&amp;quot;validator&amp;quot;)&lt;br /&gt;
 -- Check if url is a folder&lt;br /&gt;
 liboutput = validator.is_integer(&amp;quot;100&amp;quot;)&lt;br /&gt;
If the string is a valid ip &amp;#039;liboutput&amp;#039; would contain string:&lt;br /&gt;
 true&lt;br /&gt;
If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===is_integer_in_range (function)===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;INPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function required the following inputs/parameters.&lt;br /&gt;
* 3 numbers --- number to test, min, max&lt;br /&gt;
** Example: (10,5,12)&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OUTPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function deliverers the following output/parameters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CODING EXAMPLE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 -- Include/Call for this library&lt;br /&gt;
 require(&amp;quot;validator&amp;quot;)&lt;br /&gt;
 -- Check if url is a folder&lt;br /&gt;
 liboutput = validator.is_integer_in_range(10,5,15)&lt;br /&gt;
If the string is a valid ip &amp;#039;liboutput&amp;#039; would contain string:&lt;br /&gt;
 true&lt;br /&gt;
If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===is_port (function)===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;INPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function required the following inputs/parameters.&lt;br /&gt;
* Number - is it between 1 and 65535&lt;br /&gt;
** Example: 45&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OUTPUT:&amp;#039;&amp;#039;&amp;#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
This library function deliverers the following output/parameters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CODING EXAMPLE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 -- Include/Call for this library&lt;br /&gt;
 require(&amp;quot;validator&amp;quot;)&lt;br /&gt;
 -- Check if url is a folder&lt;br /&gt;
 liboutput = validator.is_port(&amp;quot;45&amp;quot;)&lt;br /&gt;
If the string is a valid ip &amp;#039;liboutput&amp;#039; would contain string:&lt;br /&gt;
 true&lt;br /&gt;
If the string is missing or an invalid ip &amp;#039;liboutput&amp;#039; would contain &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;</summary>
		<author><name>Ms13sp</name></author>
	</entry>
</feed>