Allow right parens to be substituted in

Fixes one of the issues in mentioned in #116 

cc @joedevivo @metadave