|Syntactic Confectionery Delight|
Re^3: Freezing a regular expression qr()by afoken (Canon)
|on Sep 08, 2017 at 06:40 UTC||Need Help??|
As a nonstandard extension to the JSON syntax that is enabled by the relaxed setting, shell-style comments are allowed.
The //-style comments have the slight disadvantage of giving some whitespace characters (\r and \n) a second meaning, whereas pure JSON treats all whitespace characters outside strings equally and allows to freely replace them with other whitespace characters.
Apart from shell comments, I can only imagine two more mismatching comment variants:
But while surfing, I found an even more mismatching comment syntax at http://www.gavilan.edu/csis/languages/comments.html:
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)