title: Regex on /^Subject and /^From at the same time
body: <p>Where is the mistake in this regex and how do I possibly match two conditions at the same time for both subject field and from field? The subject is "empty line" (there is nothing written in the subject field) and the email comes from "assistant@mail.com" then accept mail:</p>
  
  <pre><code>/^From:(.*)assistant\@gmail\.com|^Subject:\s*$/ OK
  </code></pre>
  
  <p>Would be really thankful for any help at all.</p>