code: function(a, match, msg) {
      return assert((this.assertIsString(a, msg) && a.match(match)!==null), msg);
    }
docs: Assert that the string string matches the string/regex supplied. This just checks wether the match is part of the string.  Use regex and ^$ pairs to check the complete string.