Mudlet manual: http://mudlet.git.sourceforge.net/git/g ... ml;hb=HEAD
Geyser (Mudlet's layout manager) Howto: http://wiki.mudlet.org/w/Manual:Geyser
(best) Programming in Lua: http://www.lua.org/pil/index.html
Lua tutorial directory: http://lua-users.org/wiki/TutorialDirectory
PCRE regular expression tutorial & reference: http://www.regular-expressions.info/reference.html
PCRE manual: http://www.pcre.org/pcre.txt
list of additional Lua special purpose modules: http://lua-users.org/wiki/LibrariesAndBindings
help on compiling Mudlet from source code: here
Mudlet Manual, Lua & Regex Tutorials and References
Re: Mudlet Manual, Lua & Regex Tutorials and References
Pattern for capturing negative numbers with regex: (-?\d+)
Re: Mudlet Manual, Lua & Regex Tutorials and References
Seems to me like the following sections are missing, and their links in the ToC are dead:
4. Advanced Learning From Selected Example Scripts
a. inlineMapExample
b. Auto Miner Bot Example - How to write a little Bot with Mudlet?
5. Custom GUI Elements
a. User Terminal Windows
b. Custom Mini Text Displays - Scripting Labels
c. Scripting Buttons
d. User Custom Graphics Windows
Re: Mudlet Manual, Lua & Regex Tutorials and References
Will be cleaned soon, thanks.
edit: done now.
edit: done now.
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet Manual, Lua & Regex Tutorials and References
Example, from another thread (which I can't find), of accounting for optional info/arguments/parameters in an alias. This same method works anywhere in a regex, but I find I use it only for alias' myself.
^qwerty(?: (\w+))?$
I do this for quite a few spell alias' which don't need targets if you are already in combat. Code is like:
^qwerty(?: (\w+))?$
I do this for quite a few spell alias' which don't need targets if you are already in combat. Code is like:
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet Manual, Lua & Regex Tutorials and References
While trying to help someone else I found this other online regex tester: www.regextester.com/. This one will tell you what is in the matches table from your pattern.