Commit 7e8122e6 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'exodus-file-series' into release

69bf87a2

 vtkExodusFileSeriesReader: update regex
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !3511
parents dfb62587 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.
......
Markdown is supported
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