18 lines
312 B
Plaintext
18 lines
312 B
Plaintext
|
//
|
||
|
// foobar
|
||
|
/**/
|
||
|
/* foo
|
||
|
bar */
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["comment", "//"],
|
||
|
["comment", "// foobar"],
|
||
|
["comment", "/**/"],
|
||
|
["comment", "/* foo\r\nbar */"]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for single-line and multi-line comments.
|