Take care of error messages on earlier versions of jing.
Pass regexp to mocha.