title: Syntax for using regex in ruby / watir webdriver
body: <p>I am able to find an element I'm looking for using an exact match on the text, as shown below, but when I try to extend this to using a regex it doesn't work.  What am I doing wrong?</p>
  
  <pre><code>&gt;&gt; browser.h3(:text =&gt; 'Latest News').exist?
  =&gt; true
  &gt;&gt; browser.h3(:text, 'Latest News').exist?
  =&gt; true
  &gt;&gt; browser.h3(:text, /Latest News/).exist?
  =&gt; false
  </code></pre>
  
  <hr>
  
  <pre><code>&gt;&gt; p browser.h3(:text, 'Latest News')
  #&lt;Watir::Heading:0x..fcb7790992119c2b2 located=false selector={:text=&gt;"Latest News", :tag_name=&gt;"h3"}&gt;
  =&gt; #&lt;Watir::Heading:0x..fcb7790992119c2b2 located=false selector={:text=&gt;"Latest News", :tag_name=&gt;"h3"}&gt;
  &gt;&gt; p browser.h3(:text, /Latest News/)
  #&lt;Watir::Heading:0x54fac9ec99992782 located=false selector={:text=&gt;/Latest News/, :tag_name=&gt;"h3"}&gt;
  =&gt; #&lt;Watir::Heading:0x54fac9ec99992782 located=false selector={:text=&gt;/Latest News/, :tag_name=&gt;"h3"}&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>  based on comments, found following HTML that seems to be what he's after, on the afl site.  This is the only match in the page html for a case insensitive search for "latest news'</p>
  
  <pre><code>&lt;div class="double-col column"&gt;
    &lt;div class="segment   "&gt;
      &lt;h3 class="section-header    blocked"&gt;
          LATEST NEWS&lt;/h3&gt;
      &lt;div class="content"&gt;
        &lt;div class="list-item focus"&gt;
          &lt;div class="img-holder"&gt;
        .........                             
  </code></pre>