Jump to content

Module:IPAddress/sandbox: Revision history


Here you can take a look at older versions of this page, and compare different versions.

  • Click the date to see an old version.
  • To compare two versions (changes), click the circles (in separate columns) next to them. Then click the Compare button to see the differences between them.
  • You can use (cur) to compare an old version with the newest (or current) one. You can use (last) to compare any version with the one just before it.
  • The letter m next to a change means that the change was marked as small (or minor).

13 February 2023

  • curlast 12:2712:27, 13 February 2023 112.209.14.63 talk 2,610 bytes +2,610 Created page with "local p = {} function p._isIpV6(s) local dcolon, groups if type(s) ~= "string" or s:len() == 0 or s:find("[^:%x]") -- only colon and hex digits are legal chars or s:find("^:[^:]") -- can begin or end with :: but not with single : or s:find("[^:]:$") or s:find(":::") then return false end s, dcolon = s:gsub("::", ":") if dcolon > 1 then return false end -- at most one :: s = s:gsub("^:?", ":") -- prepend : if needed, upper s, groups = s:gsub(":%x%x?%x..."