in reply to Re: Re: Matching floats according to perlfaq4
in thread Matching floats according to perlfaq4

...and of course I meant

/^ [+-]? ( \d+ (\.\d*)? | \.\d+ ) (e[+-]?\d+)? $/ix

... really (whitespace added for readability)