aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/NXP/Classes')
-rw-r--r--src/NXP/Classes/Token/TokenNumber.php2
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+)?';
}
}