From 0c7baa858349695b481823c2b33c2e97b3336225 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Mon, 27 Nov 2023 15:36:12 -0500 Subject: [PATCH] Add double backslash --- libmexclass/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmexclass/cpp/CMakeLists.txt b/libmexclass/cpp/CMakeLists.txt index 904a65c..1c0ad5c 100644 --- a/libmexclass/cpp/CMakeLists.txt +++ b/libmexclass/cpp/CMakeLists.txt @@ -113,7 +113,7 @@ macro(MatlabConfigure) message(STATUS "File content:") message(STATUS "${VERSION_INFO_TEXT}") - string(REGEX MATCH "[\S]+<\/version>" STRING_MATCH ${VERSION_INFO_TEXT}) + string(REGEX MATCH "[\\S]+<\/version>" STRING_MATCH ${VERSION_INFO_TEXT}) message(STATUS "STRING_MATCH = ${STRING_MATCH}") if (NOT DEFINED MATLAB_RELEASE_VERSION)