title: Coldfusion RegEx to check strength of password
body: <p>I'm using this to (try) to validate a 'strong' password in ColdFusion 7.</p>
  
  <pre><code>if ( REFind("^(?=.*[A-Z])(?=.*[!@##$&amp;*])(?=.*[0-9])(?=.*[a-z]).{6}$", myPassword, 1) EQ 0 )
  </code></pre>
  
  <p>However, it is failing. Can someone point out my error?</p>
  
  <p>The criteria I <em>think</em> I'm testing is:</p>
  
  <ul>
  <li>1 upper</li>
  <li>1 lower</li>
  <li>1 number</li>
  <li>1 special char</li>
  <li>6 digit min</li>
  </ul>
  
  <p>Footnotes for non-CF people:</p>
  
  <ul>
  <li>the double hash is to escape the CF hash;</li>
  <li>ColdFusion uses Jakarta ORO 2.0.6 as its regex engine</li>
  </ul>