File mlex_lua.luadoc

Functions

count () Counts the number of results.
get (x, y) Gets the x,y result.
mlex.match (data, exp, ret) Finds patterns in a html page.
print () Debug function.


Functions

count ()
Counts the number of results.

Return value:

number.
get (x, y)
Gets the x,y result.

Parameters

  • x:
  • y:

Return value:

string The result, or nil if x,y is wrong.
mlex.match (data, exp, ret)
Finds patterns in a html page. See the C module documentation for more infos

Parameters

  • data: string The html page.
  • exp: string See the C module documentation for this.
  • ret: string See the C module documentation for this.

Return value:

userdata The result structure.
print ()
Debug function.

Valid XHTML 1.0!