title: How can CMake's PASS_REGULAR_EXPRESSION match multiple lines of output?
body: <p>I'd like to add a test via CMake in the following manner:</p>
  
  <pre><code>ADD_UNIT_TEST(MyTest)
  set_tests_properties(
      MyTest
      PROPERTIES
          PASS_REGULAR_EXPRESSION
             "This matches the first line\n"
             "This matches the second line"
  )
  </code></pre>
  
  <p>Is this possible? How?</p>