From: Matthias Maier Date: Thu, 24 Nov 2022 11:04:34 +0000 (-0600) Subject: Examples: Fix regular expression X-Git-Tag: v9.5.0-rc1~816^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a43b1ceba5b1f6eb41ef269b710cc9d08e574722;p=dealii.git Examples: Fix regular expression --- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 5b2335ab71..9171fb3ca2 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -69,7 +69,7 @@ IF(DEAL_II_COMPONENT_EXAMPLES) SET(_setup FALSE) IF(EXISTS "${_directory}/CMakeLists.txt") FILE(STRINGS "${_directory}/CMakeLists.txt" _dependency_string - REGEX "^IF.*DEAL_II.* # keep in one line$" + REGEX "^if.*DEAL_II.* # keep in one line$" ) STRING(REPLACE "IF(" "" _dependency_string "${_dependency_string}") STRING(REPLACE ") # keep in one line" "" _dependency_string "${_dependency_string}")