How can I match password confirmation by Jquery
<p>I have a jqury code which going to match passwords from text fields which taken from
 <a href="http://code.google.com/p/rcciit-wp-techtrix-event-management-plugin/source/browse/trunk/js/jquery.validationEngine-en.js?spec=svn5&amp;r=5" rel="nofollow">here</a>
.But its not completed.Can any one help me with how to match the password from textfields by this code? thanks</p>

<p>here is my jquery code sgement for massword matching. I need to have the logic for "none" part I think.</p>

<pre><code>{
    "confirm":{ // password matching
        "regex":"none",
        "alertText":"* Your field is not matching"},        
        "telephone":{
        "regex":"/^[0-9\-\(\)\ ]+$/",
        "alertText":"* Invalid phone number"},  
    "email":{ // For email validation
        "regex":"/^[a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+[a-zA-Z0-9]{2,4}$/",
        "alertText":"* Invalid email address"}
}
</code></pre>

<p>I think in this code the didn't give the matching loginc in "regex":"none", part. Can anyone help with this?</p>
