Validation: custom rule with regexp not catching initial space in text input...

Validation: custom rule with regexp not catching initial space in text input...

So I created a custom rule following numerous examples out on the web for a dynamic text input, but for some reason it seems to be letting spaces through even though my regexp tests out ok to not match when the value is any combination of spaces...
 
  1. $.validator.addMethod("noSpace", function(value, element){
  2.       return this.optional(element) || /^[a-z0-9][a-z0-9_ ]{0,70}$/i.test(value);
  3. }, "Please enter a name starting with either a letter or a digit.");
  4. $('#form').validate({
  5.       rules: {
  6.             name: {
  7.                   noSpace: true
  8.             }
  9.       }
  10. });
The odd thing is, it will work if you type in a space followed by a character, but if you type in one space, or one space followed by x number of spaces, it just lets it through like it's valid. But yet when I look at the demos and examples that I pulled this from, they never let those scenarios go through.
 
And yes, I have tested the regexp through several different validation tools and it behaves as expected:
      a bcde
      ab cde
      abc de
all work, and
       abcde
         abcde
        etc
do not match.