Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn-ROOT
Commits
d7a77725
Commit
d7a77725
authored
Oct 01, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/TJAlienFile.cxx
View file @
d7a77725
...
...
@@ -419,7 +419,7 @@ TJAlienFile *TJAlienFile::Open(const char *url, Option_t *option,
// Everything is OK, return handler
jalienfile
->
SetSE
(
seStr
);
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
);
jalienfile
->
SetImage
(
imagenr
);
jalienfile
->
SetNreplicas
(
nreplicas
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment