File stringhack_lua.luadoc

Functions

check_stop (n) Checks if we have already processed n lines of body.
current_lines (void*a) line counted since now.
dothack (buff) The lines containing only a dot must be mangled.
stringhack.new () Returns a new stringhack objects.
tophack (char* tmp, int lines, buff) Performs a line count/tructaing operation.


Functions

check_stop (n)
Checks if we have already processed n lines of body.

Parameters

  • n: number the number of lines.

Return value:

boolean.
current_lines (void*a)
line counted since now.

Parameters

  • void*a:

Return value:

number.
dothack (buff)
The lines containing only a dot must be mangled. Performs a sed s/^\.$/../.

Parameters

  • buff: string the buffer to hack.

Return value:

string.
stringhack.new ()
Returns a new stringhack objects.

Return value:

object: the stringhack that has the following methods.
tophack (char* tmp, int lines, buff)
Performs a line count/tructaing operation.

Parameters

  • char* tmp:
  • int lines:
  • buff: string the buffer to hack.

Return value:

string.

Valid XHTML 1.0!