Handle non-matching lines which don't cause match errors and don't clean the empty lines if there are no cleaned lines