mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
21 lines
385 B
Plaintext
21 lines
385 B
Plaintext
|
-- foo bar
|
||
|
# foo bar
|
||
|
(* foo
|
||
|
bar *)
|
||
|
(* foo
|
||
|
(* bar *)
|
||
|
*)
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["comment", "-- foo bar"],
|
||
|
["comment", "# foo bar"],
|
||
|
["comment", "(* foo\r\nbar *)"],
|
||
|
["comment", "(* foo\r\n(* bar *)\r\n*)"]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for single-line and multi-line comments.
|
||
|
Also checks for one level of nesting.
|