Log the match substring as well in the case where we match the step-avoid regexp.