'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const getSymbolsInPatternWithPosition = pattern => {
  const patternWithSymbolsPosition = [];
  const patternArray = pattern.split('');
  patternArray.forEach((symbol, index) => {
    if (symbol !== '*') {
      patternWithSymbolsPosition.push({
        index,
        symbol
      });
    }
  });
  return patternWithSymbolsPosition;
};

exports.default = getSymbolsInPatternWithPosition;
//# sourceMappingURL=getSymbolsInPatternWithPosition.js.map
