Code Page Markup

A wiki-page can be marekdup in a standardised way so that code can be extracted using:

# RegExp Header The way the markup works is that everything above the first blank line is the RegExp header. This header consits of one or more lines of partial regular expression used to match a dropped url.

# The Code The way the markup works is that the code that is executed when matched is everything below the headert section.

The code must have a function parse_Url which must return a pageArray. In addition this function must have a number of parameters in a carefully constructed order.

The first parameter is always the dropped url (dURL) matched. The following parameters consist of one parameter for each of the match-variables in the regular expressions.

Alternatively we could indicate a controller and acheive the same result using: