title: jQuery List Filter not working (Uncaught TypeError: Cannot read property '3' of undefined)
body: <p>I'm running jQuery 1.8.0.min.js</p>
  
  <p>When I start to type into my input box to filter a List, nothing occurs and inside Chrome Debugger, I get the following error:</p>
  
  <p>Uncaught TypeError: Cannot read property '3' of undefined</p>
  
  <p>Points to the line: </p>
  
  <pre><code>jQuery.expr[':'].Contains = function (a, i, m) {
              return (a.textContent || a.innerText || "").toLowerCase().indexOf(m[3].toLowerCase()) &gt;= 0;
          };
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>(function ($) {
      jQuery.expr[':'].Contains = function (a, i, m) {
          return (a.textContent || a.innerText || "").toLowerCase().indexOf(m[3].toLowerCase()) &gt;= 0;
      };
      function listFilter(list) {
          var input = $('#classroomSearch');
          $(input)
            .change(function () {
                var filter = $(this).val();
                if (filter) {
                    $(list).find("a:not(:Contains(" + filter + "))").parent().slideUp();
                    $(list).find("a:Contains(" + filter + ")").parent().slideDown();
                } else {
                    $(list).find("li").slideDown();
                }
                return false;
            })
          .keyup(function () {
              $(this).change();
          });
      }
      $(function () {
          listFilter($("#filterList"));
      });
  }(jQuery));
  </code></pre>