Closed DrChainsaw closed 3 years ago
It seems like Files no longer have their absolute path intact after accessing them with a regex:
File
julia> ft = maketree("a" => ["b" => ["c" => ["d"]]]); julia> ft |> files |> first # Expected answer File(a\b\c\d) julia> ft[r".*/c/d"] |> files |> first # Root is dropped :( File(b\c\d) julia> ft[glob"*/c/d"] |> files |> first # No problem! File(a\b\c\d) julia> ft["b/c/d"] # No problem! File(a\b\c\d)
It seems like
File
s no longer have their absolute path intact after accessing them with a regex: