Installation
npm install --save @types/float-regex
Summary
This package contains type definitions for float-regex (https://github.com/substack/float-regex).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-regex.
index.d.ts
/**
* regular expression for real floating point values in javascript notation:
* ```
* /[-+]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][-+]?\d+)?/
* ```
*
* does not match:
* * +/- Infinity
* * NaN
*/
declare const regexp: RegExp;
export = regexp;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Anjun Wang.