
Bueno - 2011-10-27 12:14:51 -
In reply to message 1 from Banphot Nuchleang
you can simply modify expression in nfx method:
- $ex = preg_match('/^([a-z][a-z0-9]*\(?|\d+(?:\.\d*)?|\.\d+|\()/', substr($expr, $index), $match);
+ $ex = preg_match('/^([a-z][a-z0-9]*\(?|\d+(?:\.\d*)?(?:(e[+-]?)\d*)?|\.\d+|\()/', substr($expr, $index), $match);