blob: a7eac57589ed3eb3104135189a93e0afdb85bbf9 (
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 <alexander@symdev.org>
*/
class TokenNumber extends AbstractContainerToken
{
/**
* @return string
*/
public static function getRegex()
{
return '\-?\d+\.?\d*(E-?\d+)?';
}
}
|