docs: function createPatternVariations(pattern) {
      var lastCharIdx = pattern.length - 1,
          patternVariations = [pattern, '!' + pattern];
  
      if (pattern[lastCharIdx] === '/') {
          var unslashed = pattern.substring(0, lastCharIdx);
  
          patternVariations.push(unslashed);
          patternVariations.push('!' + unslashed);
      }
  
      return patternVariations;
  }