-- local REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL =
-- 	Constants.REGEX_BACKSLASH,
-- 	Constants.REGEX_REMOVE_BACKSLASH,
-- 	Constants.REGEX_SPECIAL_CHARS,
-- 	Constants.REGEX_SPECIAL_CHARS_GLOBAL
-- ROBLOX TODO END


function exports.isObject(val)
	return val ~= nil and typeof(val) == "table" and not Array.isArray(val)
end
function exports.hasRegexChars(str)
	return string.match(str, REGEX_SPECIAL_CHARS) ~= nil
end
function exports.isRegexChar(str: string)
	return #str == 1 and exports.hasRegexChars(str)
end