def get_requirement(self, line):
        """Gets requirement name and id."""
        res = self.REQ_SEARCH.search(line)
        try:
            name, tc_id = res.group(1), res.group(2)
        except (AttributeError, IndexError):
            return None

        return LogItem(name, tc_id, None)