File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
PRIMITIVE_RULES = {
14
14
'boolean' : '("true" | "false") space' ,
15
- 'integral-part' : '[0-9] | [1-9] [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]?' ,
16
- 'decimal-part' : '[0-9] [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]? [0-9]?' ,
15
+ 'decimal-part' : '[0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] [0-9]?)?)?)?)?)?)?)?)?)?' ,
16
+ 'integral-part' : '[0-9] | [1-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] ([0-9] [0-9]?)?)?)?)?)?)?)?)?)?' ,
17
+
17
18
# 'number': '("-"? ([0-9] | [1-9] [0-9]*)) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? space',
18
19
# 'integer': '("-"? ([0-9] | [1-9] [0-9]*)) space',
19
20
'number' : '("-"? integral-part) ("." decimal-part)? ([eE] [-+]? integral-part)? space' ,
You can’t perform that action at this time.
0 commit comments