title: How do I test a WHOLE string against regex in ruby?
body: <p>How do I a string against a regex such that it will return true if the <strong>whole</strong> string matches (not a substring)?</p>
  
  <p>eg:</p>
  
  <pre><code>test( \ee\ , "street" ) #=&gt; returns false
  test( \ee\ , "ee" ) #=&gt; returns true!
  </code></pre>
  
  <p>Thank you.</p>