note 109804 deleted from function.is-float by nikic
| From: | nikic@php.net | Date: | Thu, 23 Aug 2012 12:02:32 +0000 |
| Subject: | note 109804 deleted from function.is-float by nikic | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190187@lists.php.net to get a copy of this message | ||
Note Submitter: KIVagant at gmail dot com
----
In the previous example typo (an extra plus).
Correct regular expression:
/^[-+]?(((\d+)\.?(\d+)?)|\.\d+)([eE]?[+-]?\d+)?$/