Re: [CMake] Regex Matching

2017-08-23 Thread Nils Gladitz
On 23.08.2017 22:21, Andrew Bell wrote: Hi, Can someone please explain the cmake regex matching rules? The following returns true: if ("This is a test" MATCHES "test") I would have expected to have needed something like this to get a match: if ("This is a test"

[CMake] Regex Matching

2017-08-23 Thread Andrew Bell
Hi, Can someone please explain the cmake regex matching rules? The following returns true: if ("This is a test" MATCHES "test") I would have expected to have needed something like this to get a match: if ("This is a test" MATCHES ".*test") Does