Skip to content

Commit

Permalink
adds support for better numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmajkl committed Sep 11, 2023
1 parent 8cd8c53 commit ca3eb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Lexer
|(?<CLOSE>\))
|(?<CURLY_OPEN>\{)
|(?<CURLY_CLOSE>\})
|(?<NUMBER>[0-9]+)
|(?<NUMBER>-?[0-9,\.]+)
|(?<UNDERSCORE>_)
|(?<CARET>\^)
|(?<SYMBOL>\+|\-|\*|\/|=|\[|\]|\|)
Expand Down

0 comments on commit ca3eb5c

Please sign in to comment.