(l)
return extracted[1]
Extract relative path from line
Extract relative path from line
Extract relative path from line
def url_root_from_line(l):
    """Extract relative path from line"""
    extracted = re.search(pattern_get_root, l)
    return extracted[1]
def url_root_from_line ( l ) : extracted = re . search ( pattern_get_root , l ) return extracted [ 1 ]