Modul:URLutil: Unterschied zwischen den Versionen
von user:PerfektesChaos via Beta
w>Mabschaaf (2019-01-01; gem. Anfrage Spezial:Diff/186813773/186814496) |
w>Seewolf (von user:PerfektesChaos via Beta) |
||
| Zeile 1: | Zeile 1: | ||
local URLutil = { suite = "URLutil", | local URLutil = { suite = "URLutil", | ||
serial = "2019- | serial = "2019-03-01", | ||
item = 10859193 } | item = 10859193 } | ||
--[=[ | --[=[ | ||
| Zeile 632: | Zeile 632: | ||
local r | local r | ||
if type( s ) == "string" then | if type( s ) == "string" then | ||
local scan = "^%s*([%w%.%%_-] | local scan = "^%s*([%w%.%%_-]*%w)%.(%a[%w-]*%a)%s*$" | ||
local scope | local scope | ||
s, scope = mw.ustring.match( s, scan ) | s, scope = mw.ustring.match( s, scan ) | ||