Configurable optional parameters and delimiter

transformRE now allows any number of optional parameters, and accepts a
'commaDelimited' bool to indicate if the parameters should be delimited
by a comma or spaces.