minor issues fixed in calculation of outline-regexp.