fix regex scientific notation

pull/3637/head
yann300 2 years ago committed by Aniket
parent 77664dd18e
commit 040388ffc6
  1. 2
      libs/remix-lib/src/execution/txFormat.ts

@ -499,7 +499,7 @@ export const normalizeParam = (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*/

Loading…
Cancel
Save