U option added to gaps and gap regex fix