blob: 982e31680aceb832c37ab8ef41b3d5213b3ddef4 (
plain) (
tree)
|
|
<?php
/**
* This file is part of the MathExecutor package
*
* (c) Alexander Kiryukhin
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code
*/
namespace NXP\Classes\Token;
/**
* @author Alexander Kiryukhin <a.kiryukhin@mail.ru>
*/
class TokenNumber extends AbstractContainerToken
{
/**
* @return string
*/
public static function getRegex()
{
return '\-?\d+\.?\d*(E-?\d+)?';
}
}
|