fix regex scientific notation

pull/5370/head
yann300 2 years ago committed by Aniket
parent 3274f69185
commit efface9080
  1. 2
      libs/remix-lib/src/execution/txFormat.ts

@ -499,7 +499,7 @@ export const normalizeParam = (param) => {
return param return param
} }
export const REGEX_SCIENTIFIC = /^(\d+\.?\d*)e\d*(\d+)$/ export const REGEX_SCIENTIFIC = /^-?(\d+\.?\d*)e\d*(\d+)$/
export const REGEX_DECIMAL = /^\d*/ export const REGEX_DECIMAL = /^\d*/

Loading…
Cancel
Save