Toggle menu
91
205
64
19.1K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Regex: Revision history

From Kenshi Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 February 2025

  • curprev 04:4504:45, 24 February 2025 Prd talk contribs 815 bytes +815 Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs --args: 1 - page to search, 2 - match pattern local function allcases(s) return s:gsub('([%?%^%$%(%)%%%.%[%]%*%+%-])', '%%%1') :gsub('%a', function(letter) return '['..letter:upper()..letter:lower()..']' end) :gsub('%[([^%[%]]+)%]', '%1') end function p._match(args) local page = mw.title.new(args["1"]) if not page then --bad title return "" end local redirectTarget = page.redirectTarget if..."