def is_path_or_repath(content: str):
    """判断当前就近解析的是 path 还是 re_path

        没有匹配：返回 'null'；匹配path：返回 'path'；匹配re_path 返回 're_path'
    """
    path_index = content.find("path")
    repath_index = content.find("re_path")
    if -1 == path_index and -1 == repath_index:
        return 'null'

    path_type = None
    if -1 == path_index:
        path_type = 're_path'
    if None == path_type and -1 == repath_index:
        path_type = 'path'
    if None == path_type:
        path_type = 'path' if path_index < repath_index else 're_path'
    return path_type