"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkGNRTDXICcjs = require('./chunk-GNRTDXIC.cjs');

// src/hooks/useNumberInput/utils/getSuffix.ts
var getSuffix = (value, { groupSeparator = ",", decimalSeparator = "." }) => {
  const suffixReg = new RegExp(
    `\\d([^${_chunkGNRTDXICcjs.escapeRegExp.call(void 0, groupSeparator)}${_chunkGNRTDXICcjs.escapeRegExp.call(void 0, 
      decimalSeparator
    )}0-9]+)`
  );
  const suffixMatch = value.match(suffixReg);
  return suffixMatch ? suffixMatch[1] : void 0;
};



exports.getSuffix = getSuffix;
