lib/js/searchOps.js
function matchTabItem(tabItem, searchExp) {
  var urlMatches = tabItem.url.match(searchExp);
  var titleMatches = tabItem.title.match(searchExp);

  if (urlMatches === null && titleMatches === null) {
    return null;
  }

  return new FilteredTabItem({ tabItem: tabItem, urlMatches: urlMatches, titleMatches: titleMatches });
}
function matchTabItem(tabItem, searchExp) {
  var urlMatches = tabItem.url.match(searchExp);
  var titleMatches = tabItem.title.match(searchExp);

  if (urlMatches === null && titleMatches === null) {
    return null;
  }

  return new FilteredTabItem({ tabItem: tabItem, urlMatches: urlMatches, titleMatches: titleMatches });
}
function matchTabItem ( tabItem , searchExp ) { var urlMatches = tabItem . url . match ( searchExp ) ; var titleMatches = tabItem . title . match ( searchExp ) ; if ( urlMatches === null && titleMatches === null ) { return null ; } return new FilteredTabItem ( { tabItem : tabItem , urlMatches : urlMatches , titleMatches : titleMatches } ) ; }
Use a RegExp to match a particular TabItem

@return {FilteredTabItem} filtered item (or null if no match)
 
Search and filter operations on TabWindows
Use a RegExp to match a particular TabItem