title: Regex in Groovy to accept multiple lines
body: <p>I am trying to get my script to accept comments that are "approved" or "Approved", etc. Whenever a user approves they may have some signature in the comment which is causing the script to not run. </p>
  
  <p>Here is my regex thus far: </p>
  
  <pre><code> def regexStr = /^[A|a][P|p][P|p][R|r][O|o][V|v][E|e][D|d]?/
  </code></pre>
  
  <p>Anyone know what I  should add to this to have it accept new lines? </p>
  
  <p>Thanks.</p>