19 lines
261 B
Text
19 lines
261 B
Text
# by Artyom Bologov
|
|
H
|
|
,p
|
|
# Join all the lines to make multi-line comments searchable
|
|
g/./s/$/|/
|
|
,j
|
|
# A nice separator
|
|
a
|
|
----------------------
|
|
.
|
|
p
|
|
d
|
|
# Remove blocks comments
|
|
# (faulty heuristic, searches for non-/ chars)
|
|
g/./s/\/\*[^/]*\*\///g
|
|
g/|/s//\
|
|
/g
|
|
,p
|
|
Q
|