pygments-json icon indicating copy to clipboard operation
pygments-json copied to clipboard

Numbers parsed incorrectly

Open TrevorBurnham opened this issue 13 years ago • 1 comments

There's an existing issue on pygments-main for this, but I thought I should bring it to your attention:

https://bitbucket.org/birkenfeld/pygments-main/issue/769/incomplete-number-format-in-json-lexer

Any number with a decimal point causes parsing to fail, as of Pygments 1.5.

TrevorBurnham avatar Jul 06 '12 19:07 TrevorBurnham

I've tried to pretty print a JSON object with decimal numbers in it as well as a standalone JSON with just a decimal number and it worked just fine.

lefuturiste avatar Aug 10 '20 09:08 lefuturiste