Each test can be defined in several formats and is very flexible.
A test consists of a names list of attributes.
pattern is a pcre compatible regular
expression that is tested. Can be a character vector of expressions.
message The message to be displayed.
include.region lists regions to restrict the search to.
Can be a character vector specifying the known regions, or a list of
functions that interpret output from getParseData.
exclude.region=c('comments', 'string') lists regions to
restrict the search to. Operates the sames as include.region.
use.lines=T should the pattern be evaluated in lines (default)
or as a contiguous block of text.