Displaying page
of
pages;
Items to
Title |
Test
Details
IEEE float
|
Expression |
[-+]?((\.[0-9]+|[0-9]+\.[0-9]+)([eE][-+][0-9]+)?|[0-9]+)
|
Description |
Used in my SVG parser.
Explanation:
May start with + or -. This is followed by either an integer, or a float ("dot numbers", "numbers dot numbers" or "numbers dot" followed by an optional scientific postfix (+ or - followed by numbers) )
I'm using it to parse lists of floats, add ^$ boundaries if you want it to match whole lines.
|
Matches |
10.2 | .0 | 3.9265e+2 | 5
|
Non-Matches |
-one | . | whatever
|
Author |
Rating:
Gaz Davidson
|
Displaying page
of
pages;
Items to