title: jquery.validate.1.9.js - validation ignoring things not listed in regex
body: <p>I have a simple form with 10 or so fields on it. Two of those fields are "First Name" and "Last Name". The validate rules are pretty simple for them, but aren't really working.</p>
  
  <p>The code:</p>
  
  <pre><code>&lt;script src="../../Scripts/jquery.validate.1.9.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery.tinysort.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/additional-methods.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          //Add Text Only
          jQuery.validator.addMethod("TextOnly", function (value, element, regexp) {
              var re = new RegExp(regexp);
              return this.optional(element) || re.test(value);
          }, "Only Characters from A-Z.");
      });
  
      $("#form").validate({
          ignore: ".ignore",
          debug: false,
          rules: {
              "FirstName": {
                  required: true,
                  minlength: 2,
                  maxlength: 100,
                  TextOnly: "^[a-zA-Z0-9\(\)\ \-\.]+$"
              },
              "LastName": {
                  required: true,
                  minlength: 2,
                  maxlength: 100,
                  TextOnly: "^[a-zA-Z0-9\(\)\ \-\.]+$"
              }
          },
          messages: {
              "FirstName": {
                  required: "Please enter the First Name."
                , minlength: "First Name must be at least 2 characters."
                , maxlength: "First Name may be no more than 100 characters."
                , TextOnly: "The First Name may contain only letters, numbers, spaces, dashes '-', periods '.', and parentheses '(' ')'."
              },
              "LastName": {
                  required: "Please enter the Last Name."
                , minlength: "Last Name must be at least 2 characters."
                , maxlength: "Last Name may be no more than 100 characters."
                , TextOnly: "The Last Name may contain only letters, numbers, spaces, dashes '-', periods '.', and parentheses '(' ')'."
              }}
          ////Commenting the following out places the errors under each field, instead of in a single area.
          , errorLabelContainer: $("#form div.error")
      });
  </code></pre>
  
  <p>The TextOnly validator works for a bunch of things, but what's strange to me is that it allows certain characters to pass through and doesn't call out an error. For instance, I can type "***" in the First/Last Name fields, and it accepts that as valid content. </p>
  
  <p>Characters that "pass" that shouldn't:
  ! # $ % &amp; * ' " , </p>
  
  <p>So if I type "as $%&amp;*'"," in the field, it passes validation, regardless of the regex validation being done.</p>