Commit d7a77725 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Adjust regex to match some old pfns starting with 'guid://'

parent 8efa2616
Pipeline #1125493 passed with stage
in 1 minute and 39 seconds
......@@ -419,7 +419,7 @@ TJAlienFile *TJAlienFile::Open(const char *url, Option_t *option,
// Everything is OK, return handler
std::regex reg1("root://[a-z0-9-.]+:[0-9]+/");
std::regex reg1("[a-z]+://[a-z0-9-.]+:[0-9]+/");
jalienfile->SetPfn(std::regex_replace(urlStr.Data(), reg1, "") + "#" + anchor);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment