Allow negative numbers without digits before the decimal point (#743)
This commit is contained in:
@@ -29,7 +29,7 @@ static const wstring c_wspc = L"[\\s\\x85]*";
|
||||
static const wstring c_wspcLParens = c_wspc + L"[(]*" + c_wspc;
|
||||
static const wstring c_wspcLParenSigned = c_wspc + L"([-+]?[(])*" + c_wspc;
|
||||
static const wstring c_wspcRParens = c_wspc + L"[)]*" + c_wspc;
|
||||
static const wstring c_signedDecFloat = L"(?:[-+]?\\d+(\\.\\d*)?|\\.\\d+)";
|
||||
static const wstring c_signedDecFloat = L"(?:[-+]?(?:\\d+(\\.\\d*)?|\\.\\d+))";
|
||||
static const wstring c_optionalENotation = L"(?:e[+-]?\\d+)?";
|
||||
|
||||
// Programmer Mode Integer patterns
|
||||
|
Reference in New Issue
Block a user