diff options
-rw-r--r-- | src/NXP/Classes/Token/TokenNumber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/Token/TokenNumber.php b/src/NXP/Classes/Token/TokenNumber.php index 763ca04..a7eac57 100644 --- a/src/NXP/Classes/Token/TokenNumber.php +++ b/src/NXP/Classes/Token/TokenNumber.php @@ -20,6 +20,6 @@ class TokenNumber extends AbstractContainerToken */ public static function getRegex() { - return '\-?\d+\.?\d*'; + return '\-?\d+\.?\d*(E-?\d+)?'; } } |