function(collection, pattern, options) {
      var views = this.getViews(collection);
      return utils.matchKeys(views, pattern, options);
    }
function(collection, pattern, options) {
      var views = this.getViews(collection);
      return utils.matchKeys(views, pattern, options);
    }
function ( collection , pattern , options ) { var views = this . getViews ( collection ) ; return utils . matchKeys ( views , pattern , options ) ; }
Returns any templates from the specified collection with keys
that match the given glob pattern.

```js
var pages = app.matchViews('pages', 'home.*');
//=> {'home.hbs': { ... }, ...}

var posts = app.matchViews('posts', '2010-*');
//=> {'2015-10-10.md': { ... }, ...}
```

@param {String} `collection` Collection name.
@param {String} `pattern` glob pattern
@param {Object} `options` options to pass to [micromatch]
@return {Object}
@api public
Returns any templates from the specified collection with keys that match the given glob pattern .