We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429e350 commit 0abe76aCopy full SHA for 0abe76a
Lib/json/tool.py
@@ -83,10 +83,10 @@ def main():
83
84
85
color_pattern = re.compile(r'''
86
- (?P<string>"(\\.|[^"\\])*?") | # String
87
- (?P<number>NaN|-?Infinity|[\d\-+.Ee]+) | # Number
88
- (?P<boolean>true|false) | # Boolean
89
- (?P<null>null) # Null
+ (?P<string>"(\\.|[^"\\])*?") | # String
+ (?P<number>NaN|-?Infinity|[0-9\-+.Ee]+) | # Number
+ (?P<boolean>true|false) | # Boolean
+ (?P<null>null) # Null
90
''', re.VERBOSE)
91
92
0 commit comments