Risultati della ricerca

Per ulteriori informazioni, vedi Aiuto:Ricerca.

  • carattere di escape a tutti i caratteri speciali, così da trattare una stringa come testo normale e non come pattern di Lua. ]] function str._escapePattern(...
    33 KB (4 330 parole) - 23:38, 12 apr 2022
  • a zero byte text = text:gsub('{', '{'):gsub('|', '|') -- escape '{' and '|' text = text:gsub('%z', '|') --...
    13 KB (1 850 parole) - 08:40, 19 mag 2019
  • end return match end -- Helper function to escape a string for use in regexes local function escapeString(str) return string.gsub(str, '[%^%$%(%)%...
    29 KB (4 258 parole) - 14:47, 2 gen 2025
  • pattern = str._escapePattern( pattern ); replace = mw.ustring.gsub( replace, "%%", "%%%%" ); --Only need to escape replacement sequences...
    33 KB (4 324 parole) - 15:13, 22 lug 2020
  • pattern = str._escapePattern( pattern ); replace = mw.ustring.gsub( replace, "%%", "%%%%" ); --Only need to escape replacement sequences...
    34 KB (4 482 parole) - 19:09, 24 lug 2020
  • replace) limit = nil -- allow long "should be" messages end -- Escape user input so it does not break the message. -- To avoid tags (like...
    132 KB (20 743 parole) - 21:49, 16 feb 2023
  • local escapeString = require("Module:String")._escapePattern local yesno = require('Module:Yesno') local p = {} -- Helper function to test for truthy...
    48 KB (6 970 parole) - 13:14, 4 set 2023
  • replace) limit = nil -- allow long "should be" messages end -- Escape user input so it does not break the message. -- To avoid tags (like...
    132 KB (20 743 parole) - 17:24, 18 mag 2019
  • res = string.gsub(res, '{{[Bb][Ss]%-?map', '{{Routemap') -- "%-" is an escape for hyphen which is used as "between" in pattern. res = string.gsub(res...
    64 KB (9 746 parole) - 23:42, 30 nov 2023