commit bug fix (regex.js was failing)
fixed param value passed to errorFormatter