title: Jenkins conditional run step not matching
body: <p>I'm trying to run a Jenkins build step based on a conditional regular expression match and I can't figure out why it doesn't match.</p>
  
  <p>Here's how it looks in Jenkins:
  <a href="https://i.stack.imgur.com/k3CwP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k3CwP.png" alt="enter image description here"></a></p>
  
  <p>I'm using this regular expression: <code>.*iOS.</code> against a build parameter, pmt_content.</p>
  
  <p>Here's the pmt_content value:</p>
  
  <pre><code>&lt;body&gt;&lt;pre&gt;^1234567890^abc123def132afd1213afas^iOS^Test User^test@abc.com^iPad 3^&lt;/pre&gt;&lt;img src='https://cirrus.app47.com/notifications/5626a0bc9ac25b6ea7003f2f/img' alt=''/&gt;&lt;/body&gt;
  </code></pre>
  
  <p>Here's the console log telling me it did not match.</p>
  
  <pre><code>[PollMailboxTrigger] An email matching the filter criteria was found. (log)
  Building in workspace /Users/jenkins/.jenkins/jobs/New Device Listener/workspace
  Run condition [Regular expression match] enabling prebuild for step [Execute shell]
  Regular expression run condition: Expression=[.*iOS.*], Label=[
  &lt;body&gt;&lt;pre&gt;^1234567890^abc123def132afd1213afas^iOS^Test User^test@abc.com^iPad 3^&lt;/pre&gt;&lt;img src='https://cirrus.app47.com/notifications/5626a0bc9ac25b6ea7003f2f/img' alt=''/&gt;&lt;/body&gt;]
  Run condition [Regular expression match] preventing perform for step [Execute shell]
  Finished: SUCCESS
  </code></pre>
  
  <p>Clearly pmt_content contains "iOS".</p>
  
  <p>I tested the same values at www.regexplanet.com.</p>
  
  <p>What am I doing wrong?</p>