code: function assertMatch(_super) {
      return function(regex) {
        var obj = this._obj;
        if (obj instanceof FileHelper) {
          var ssf = utils.flag(this, 'ssfi');
  
          if (utils.flag(this, 'negate')) {
            obj.assertDoesNotMatch(regex, ssf);
          } else {
            obj.assertMatches(regex, ssf);
          }
  
        } else {
          _super.apply(this, arguments);
        }
      };
    }
docs: ### .match(regexp)
  
  Asserts that the file content matches a regular expression.
  
  expect(file('foo.txt')).to.match(/fo+/);
  expect(file('foo.txt')).to.not.match(/bar/);
  
  @name match
  @alias matches
  @param {RegExp} regex
  @namespace BDD
  @api public