title: Regular Expression failing in Response Assertion and Regular Expression Extractor Jmeter
body: <p>The response data in my test has this line: </p>
  
  <pre><code>&lt;head&gt;&lt;title&gt;
      My Title
  &lt;/title&gt;&lt;meta charset
  </code></pre>
  
  <p>I checked this regex in the inbuilt regex tester in Jmeter and it found the title. </p>
  
  <pre><code>(?m)(?is)&lt;title&gt;\n\tMy Title\n&lt;/title&gt;
  </code></pre>
  
  <p>However, when I use it as a response assertion, the assertion always fails. </p>
  
  <p>I have tried all settings in "Apply to" section. "Text Response" is selected for "Response Field to Test". I selected "Contains" for "Pattern Matching Rules". </p>
  
  <p>I have a very similar issue with a regular expression extractor as well - the selected expression passes in the tester, but fails with regular expression extractor. </p>
  
  <p>I believe it may have something to do with the multi-line nature of the response. </p>
  
  <p>Any pointers?</p>