lpeg.print

Outputs debugging information to stdout

Prototype

lpeg.print (pattern)

Description

Sends debugging information to stdout.

This is not particularly easy to capture in a GUI application. To see it you could execute MUSHclient from the command line, like this:

mushclient.exe > lpeg_output.txt

Then inside MUSHclient use lpeg.print to print a pattern. Close MUSHclient and the file lpeg_output.txt should contain the debugging information.

For example:

00: char 'a'-> FAIL
01: set [(61-7a)]-> FAIL
10: end

Lua functions

Topics