Fixed regexp error messages to include input values to aide debugging