From 536811d240a1d6ddd08b3e39e678bf483075c303 Mon Sep 17 00:00:00 2001 From: initramfs Date: Wed, 28 Jun 2023 14:58:57 +0800 Subject: [PATCH] Hashes - Fix JSON parsing of scientific notation with uppercase E --- addons/hashes/fnc_parseJSON.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hashes/fnc_parseJSON.sqf b/addons/hashes/fnc_parseJSON.sqf index d3805fd79..11db76ea1 100644 --- a/addons/hashes/fnc_parseJSON.sqf +++ b/addons/hashes/fnc_parseJSON.sqf @@ -87,7 +87,7 @@ private _tokenize = { _input = toArray _input apply {toString [_x]}; private _tokens = []; - private _numeric = "+-.0123456789e" splitString ""; + private _numeric = "+-.0123456789eE" splitString ""; private _symbols = "{}[]:," splitString ""; private _consts = "tfn" splitString "";