

def raw_line_parser(str_line):
    pattern = '(?P<ip>\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}) - - \\[(?P<date>\\d{2}/\\w+/\\d{4}:\\d{2}:\\d{2}:\\d{2})?\\] "(?P<http_request>\\w+)? /\\w+/\\w+/(?P<id>\\w+)?/(?P<type>\\w+)?'
    pattern_2 = '.*?(\\d+)$'
    results = re.match(pattern, str_line)
    if (results is None):
        return results
    results = re.match(pattern, str_line).groupdict()
    temp_results = re.match(pattern_2, str_line)
    if (temp_results is None):
        results['size'] = None
        return results
    temp_results['size'] = re.match(pattern_2, str_line).group(1)
    return results

dataset/ETHPy150Open docker/docker-registry/scripts/bandwidth_parser.py raw_line_parser/VarMisuse@88/227 `results`->`temp_results`