code: function reloadTabsMatchingUrl(url) {
    var patterns = [
      new MatchPattern(url),
      new MatchPattern(url + '#*')
    ];
    for each (var tab in tabs) {
      var matchesAny = false;
      for each (var pattern in patterns) {
        if (pattern.test(tab.url)) {
          matchesAny = true;
          break;
        }
      }
      if (matchesAny) {
        tab.reload();
      }
    }
  }
docs: Reloads all tabs that match the given URL (or #fragment variants).
  @param {string} url URL of tabs to reload.