fix ctest 4 for >5.17.5 (regexec eval changes)