enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. 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.

  3. Module:Scripts - Wikipedia

    en.wikipedia.org/wiki/Module:Scripts

    Currently, left-to-right scripts are unmarked, while most right-to-left scripts have direction specified as {{code|lua|"rtl"}} and Mongolian as {{code|lua|"down"}}.]==] function Script: getDirection return self. _rawData. direction end function Script: getRawData return self. _rawData end--[==[Returns {{code|lua|true}} if the script contains ...

  4. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    The script at Module:LuaCall has been written to accept any set of named parameters somename=value, for each one storing the string value in the variable with the name somename, and then allowing you to use these variables as parameters for any function available in Lua. The script then returns only the first value returned by the function (Lua ...

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

  6. Category:Templates based on the String Lua module - Wikipedia

    en.wikipedia.org/wiki/Category:Templates_based...

    [[Category:Templates based on the String Lua module]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Templates based on the String Lua module]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.

  7. Help:Lua debugging - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_debugging

    Invalid function name: len = string.long(my_str) - The string-length operator is hash mark '#' (as in: #my_str), or use function 'string.len(my_str)' but trying to use unknown function 'string.long(my_str)' will successfully pass during the pre-compile of edit-save, yet it will hit "Script error" when that portion of the Lua script is executed.

  8. Lua (programming language) - Wikipedia

    en.wikipedia.org/wiki/Lua_(programming_language)

    Lua scripts may load extension modules using require, [20] just like modules written in Lua itself, or with package.loadlib. [22] When a C library is loaded via require ( 'foo' ) Lua will look for the function luaopen_foo and call it, which acts as any C function callable from Lua and generally returns a table filled with methods.

  9. Wikipedia talk:Lua string functions - Wikipedia

    en.wikipedia.org/wiki/Wikipedia_talk:Lua_string...

    Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate