The regex for string matching in JSON text caused the hang, and it's fixed in this PR
Also fixed the regex for number matching.
Given that the bad regex is in the ColorCode package, I have to create the JSON language to overwrite the default JSON language from the package. I will submit a PR to ColorCode repo once we are confident the new regular expressions are correct.
PR Summary
Fix #140
The regex for string matching in JSON text caused the hang, and it's fixed in this PR Also fixed the regex for number matching. Given that the bad regex is in the ColorCode package, I have to create the JSON language to overwrite the default JSON language from the package. I will submit a PR to ColorCode repo once we are confident the new regular expressions are correct.