Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
tlibs
Commits
13acbbf3
Verified
Commit
13acbbf3
authored
Nov 06, 2020
by
Tobias WEBER
Browse files
cosmetic
parent
e7164ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
file/loadinstr_impl.h
View file @
13acbbf3
...
...
@@ -1079,9 +1079,9 @@ void FileFrm<t_real>::ReadHeader(std::istream& istr)
if
(
m_strInstrIdent
==
""
)
{
const
std
::
string
strRegex
=
R"REX(([a-z0-9]+)\_responsible)REX"
;
std
::
regex
rx
(
strRegex
,
std
::
regex
::
ECMAScript
|
std
::
regex_constants
::
icase
);
std
::
smatch
m
;
if
(
std
::
regex_search
(
pairLine
.
first
,
m
,
rx
)
&&
m
.
size
()
>=
2
)
rex
::
regex
rx
(
strRegex
,
rex
::
regex
::
ECMAScript
|
rex
::
regex_constants
::
icase
);
rex
::
smatch
m
;
if
(
rex
::
regex_search
(
pairLine
.
first
,
m
,
rx
)
&&
m
.
size
()
>=
2
)
m_strInstrIdent
=
m
[
1
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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