Use match string on . and .. aswell