title: Selenium: Using regular expression with getLocation
body: <p>I was using Selenium RC some time back and the statement below worked fine:</p>
  
  <pre><code>verifyEquals("*/en-us/", selenium.getLocation());
  </code></pre>
  
  <p>Now I am using Hudson, Ant and SeleniumRC and this statement does not work. I am getting a message:</p>
  
  <blockquote>
    <p>org.junit.comparisonFailure: expected:"*/en-us/" but was
    "http://www.testwebsite.com/en-us/".</p>
  </blockquote>
  
  <p>It does not seem to consider <code>"*/en-us/"</code> as a regular expression.</p>