title: Is it possible to use an AND operator in grepl()?
body: <p>I want to search for anything that begins with <code>55</code> and anything that has the word <code>Roof</code> (case-sensitive, for those who are curious) in it.</p>
  
  <p>So far I have been unsuccessful, as I can only seem to use the <code>OR</code> operator:</p>
  
  <pre><code>grepl("*^55|*Roof", dataset$longname)
  </code></pre>
  
  <p>Ultimately, I want to achieve something like this:</p>
  
  <pre><code>grepl("*^55&amp;&amp;*Roof", dataset$longname)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>grepl("*^55&amp;*Roof", dataset$longname)
  </code></pre>
  
  <p>(Clearly, neither of these work - they're for illustration only.)</p>
  
  <p>I want my results to show anything that begins with <code>55</code> and which has the word <code>Roof</code> anywhere in it.</p>
  
  <p>For example, I would expect both of these results to be picked up by the <code>grepl()</code> function:</p>
  
  <pre><code>55 - Roof Structure
  </code></pre>
  
  <p>and</p>
  
  <pre><code>55-Wall to Roof
  </code></pre>
  
  <p>Is there an <code>AND</code> operator that can be used with <code>grepl()</code>?</p>