mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 10:18:34 -06:00
ExternalData: Allow ()-groups in series match regex
Refactor use of the ExternalData_SERIES_MATCH value to avoid assuming that it has no ()-groups that interfere with group indexing. Extend the Module.ExternalData test to cover this case.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
set(ExternalData_SERIES_PARSE "([0-9]+)(_\\.my\\.dat)$")
|
||||
set(ExternalData_SERIES_MATCH "[0-9]+")
|
||||
set(ExternalData_SERIES_MATCH "([0-9]+)")
|
||||
ExternalData_Add_Test(Data2
|
||||
NAME Data2Check
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
|
||||
Reference in New Issue
Block a user