Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
//#region src/hooks/useNumberInput/utils/escapeRegExp.ts
/**
* Escape regex char
*
* See: https://stackoverflow.com/questions/17885855/use-dynamic-variable-string-as-regex-pattern-in-javascript
*/
const escapeRegExp = (stringToGoIntoTheRegex) => {
	return stringToGoIntoTheRegex.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
};
//#endregion
exports.escapeRegExp = escapeRegExp;
