When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Module:String/doc - Wikipedia

    en.wikipedia.org/wiki/Module:String/doc

    This function allows one to replace a target string or pattern within another string. To Lua programmers: this function works internally by calling mw.ustring.gsub. Usage: {{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}} OR

  3. Wikipedia:Lua string functions - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua_string_functions

    The string-search functions in Lua script can run extremely fast, comparing millions of characters per second. For example, a search of a 40,000-character article text, for 99 separate words (passed as 99 parameters in a template), ran within one second of Lua CPU clock time.

  4. Help:Manipulating strings - Wikipedia

    en.wikipedia.org/wiki/Help:Manipulating_strings

    Regular expressions (or regex) are a common and very versatile programming technique for manipulating strings. On Wikipedia you can use a limited version of regex called a Lua pattern to select and modify bits of text from a string. The pattern is a piece of code describing what you are looking for in the string.

  5. Module:String - Wikipedia

    en.wikipedia.org/wiki/Module:String

    This module is subject to page protection.It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.

  6. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    The captures can be accessed later in the search string or in the string.gsub replacement string as %1 to %9, and are returned by string.match as an expression list of results. The qualifiers ? - * + specify repetitions of a single character (not a longer string).? means 0 or 1 repetitions: a? matches "a" or "".

  7. Wikipedia:Lua/Resources - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Resources

    Wikipedia:Lua style guide – standards to improve the readability of code through consistency "What do converted templates look like?" (slideshow) Help:Lua debugging – a how-to guide about debugging Lua modules; Help:Lua for beginners – basic tutorial and pointers; Wikipedia:Lua string functions – string performance considerations and limits

  8. Module:String2 - Wikipedia

    en.wikipedia.org/wiki/Module:String2

    This Lua module is used on approximately 4,830,000 pages, or roughly 8% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox.

  9. Wikipedia:Lua/Requests/Archive 5 - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Requests/...

    This can be done in either Lua or template syntax (using the string manipulation templates). Lua will probably be a little bit more work to implement, but would certainly be easier to read. For the record, what is "{{{1}}}" above, is that meant to be "IT\ICCU\MIL\0205279" in the example? Dragons flight 16:47, 28 June 2015 (UTC) Yes.