capturing term parse tree
accurate recognizer for bel terms, some issues

impl detail: trapping parameter prefix is done until the ':' is seen; if the
':' isn't used then the characters trapped count towards the parameter value

issue: a parameter with nil prefix and '' value is being trapped so it
is being accounted for