mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
467 B
TypeScript
18 lines
467 B
TypeScript
// Type definitions for float-regex 1.0
|
|
// Project: https://github.com/substack/float-regex
|
|
// Definitions by: Anjun Wang <https://github.com/wanganjun>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* 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;
|