Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
ParaView
Commits
69bf87a2
Commit
69bf87a2
authored
Aug 15, 2019
by
Utkarsh Ayachit
⛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtkExodusFileSeriesReader: update regex
update regex for fixing #19056 and #19202 at the same time.
parent
809ca595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ParaViewCore/VTKExtensions/Default/vtkExodusFileSeriesReader.cxx
...wCore/VTKExtensions/Default/vtkExodusFileSeriesReader.cxx
+1
-1
No files found.
ParaViewCore/VTKExtensions/Default/vtkExodusFileSeriesReader.cxx
View file @
69bf87a2
...
...
@@ -244,7 +244,7 @@ void vtkExodusFileSeriesReader::FindRestartedResults()
// The `e` in the above pattern can be any of exodus supported extensions e.g.
// exo, ex2, etc. Hence we keep the regex generic (ref: paraview/paraview#19056,
// paraview/paraview#19202).
vtksys
::
RegularExpression
regEx
(
"^(
[^
\\
.]*
\\
.[a-zA-Z0-9]+
)(-s.[0-9]+)?(
\\
.[0-9]+
\\
.[0-9]+)?$"
);
vtksys
::
RegularExpression
regEx
(
"^(
.*
\\
.[eg][^-.]*
)(-s.[0-9]+)?(
\\
.[0-9]+
\\
.[0-9]+)?$"
);
if
(
!
regEx
.
find
(
baseName
))
{
// Filename does not follow convention. Just use it.
...
...
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