blob: 763ca04c57d2c81b1c4a8ae0d04a06cbb21d97e5 (
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*';
}
}
|