'use strict';function n(e){if(e instanceof RegExp)return  true;if(!e||typeof e!="object"||!Object.prototype.toString.call(e).includes("RegExp"))return  false;try{return new RegExp(e),!0}catch(t){return  false}}exports.isRegExp=n;