code: function findNextSeparator(pattern) {
      if ('' == pattern) {
          // return empty string if pattern is empty or false (false which can be returned by substr)
          return '';
      }
      // first remove all placeholders from the pattern so we can find the next real static character
      pattern = pattern.replace(/\{\w+\}/g, '');
  
      return isset(pattern[0]) && (-1 != SEPARATORS.indexOf(pattern[0])) ? pattern[0] : '';
  }
docs: Returns the next static character in the Route pattern that will serve as a separator.
  
  @param {String} pattern The route pattern
  
  @return string The next static character that functions as separator (or empty string when none available)