Closed
Description
Bug report
Bug description:
You should be careful when matching unicode regexes:
Lines 11 to 13 in a0f5c8e
>>> import sys
>>> sys.modules["_json"] = None
>>> import json
>>> json.loads("[1\uff10, 0.\uff10, 0e\uff10]")
[10, 0.0, 0.0]
I think it's safer to use [0-9]
instead of \d
here.
CPython versions tested on:
3.13
Operating systems tested on:
macOS