			unescapeEntities = function (inputStr, except) {
				objectEach(renderer.escapes, function (value, key) {
					if (!except || inArray(value, except) === -1) {
						inputStr = inputStr.toString().replace(
							new RegExp(value, 'g'), // eslint-disable-line security/detect-non-literal-regexp
							key
						);
					}
				});
				return inputStr;
			},
The software specifies a regular expression in a way that causes data to be improperly matched or compared.