2018-12-19 14:09:39 +08:00

16 lines
309 B
Plaintext

/**/
/* foo */
/* foo
bar */
----------------------------------------------------
[
["comment", "/**/"],
["comment", "/* foo */"],
["comment", "/* foo\r\nbar */"]
]
----------------------------------------------------
Checks for empty comment, single-line comment and multi-line comment.