added a specification for the regex utility functions
minor edits for the Json matchers
removed the intermediary ThrowableException for Errors. fixes #197