code: function() { 
      var hashFilter = function(hash) {
        var newHash = {};
        for (var key in hash) {
          if (hash[key].match(regexp)) {
            newHash[key] = hash[key];
          } 
        };
        return newHash;
      };
      return {
        filter: function(attrs) {return attrs;},
        getOptions: function(attrs) {return attrs;},
        getControlOptions: function(attrs) {return hashFilter(attrs, /ControlOptions$/);},
        getEvents: function(attrs) {return hashFilter(attrs, /^on[A-E]/);}
      };
    }
docs: /* mock Attr2Options, knowns as parser