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 b7589be commit e744290Copy full SHA for e744290
Lib/json/tool.py
@@ -15,10 +15,10 @@
15
# the various parts, most notably strings and numbers,
16
# where the regex given by the spec is much more complex.
17
_color_pattern = re.compile(r'''
18
- (?P<string>"(\\.|[^"\\])*") | # String
19
- (?P<number>NaN|-?Infinity|[0-9\-+.Ee]+) | # Number
20
- (?P<boolean>true|false) | # Boolean
21
- (?P<null>null) # Null
+ (?P<string>"(\\.|[^"\\])*") |
+ (?P<number>NaN|-?Infinity|[0-9\-+.Ee]+) |
+ (?P<boolean>true|false) |
+ (?P<null>null)
22
''', re.VERBOSE)
23
24
0 commit comments