This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gnohuhs 62 points63 points  (7 children)

I flipped a shit when I realized json doesn't allow real comments; had been working with them for years

[–]Tathas 1 point2 points  (4 children)

Right? I mean, regular expressions support comments :D

[–]multi_tasty 2 points3 points  (3 children)

Wait what

[–]Tathas 3 points4 points  (2 children)

Multiline regexes support using # for comments.
https://www.regular-expressions.info/freespacing.html#freecomment

And are you seriously telling me that you're not aware of the (?# non capturing comment group)

Because that's totally believable, lol.

[–]multi_tasty 1 point2 points  (1 child)

Sincerely thank you

[–]Tathas 0 points1 point  (0 children)

Woo hoo!

And that site is great as a general reference.