documentcloud/backbone — pull request #1682 by devdd (2012-09-26 15:52:58+00:00)
Title: Adding support regular expression in method 'where' of Collection.

For example, for select all models where 'id' attribute that begin from whole number:

Just write
```JavaScript
collection.where({id: /^[\d]+/i});
```
instead
```JavaScript
collection.filter(function(item) {
return /^[\d]+/i.test(item.get('id'))
});
```