When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Wikipedia : Lua string functions

    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.

  3. 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 "".

  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:String2 - Wikipedia

    en.wikipedia.org/wiki/Module:String2

    If the plain parameter is set to false (default true) then the search strings are Lua patterns. This can usefully be put in a switch statement to pick a switch case based on which pattern a string matches. Returns the empty string if nothing matches, for use in {}. {{#invoke:String2|matchAny|123|abc|source=abc 124}} returns 2.

  6. Module:String/doc - Wikipedia

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

    This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the

  7. 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.

  8. String literal - Wikipedia

    en.wikipedia.org/wiki/String_literal

    A string literal or anonymous string is a literal for a string value in the source code of a computer program. Modern programming languages commonly use a quoted sequence of characters, formally "bracketed delimiters", as in x = "foo", where , "foo" is a string literal with value foo. Methods such as escape sequences can be used to avoid the ...

  9. Module:Text - Wikipedia

    en.wikipedia.org/wiki/Module:Text

    This Lua module is used on approximately 1,880,000 pages, or roughly 3% 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.