string
http://man.hubwiz.com › commandRegular Expressions string(REGEX MATCH <match-regex> <out-var> <input>. ... Note that two backslashes ( \\1 ) are required in CMake code to get a backslash ...
string — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpNote that two backslashes (\\1) are required in CMake code to get a backslash through argument parsing. Regex Specification¶ The following characters have special meaning in regular expressions: ^ Matches at beginning of input $ Matches at end of input. Matches any single character \<char> Matches the single character specified by <char>.