在Atom文本编辑器中可以用来只选择注释的正则表达式是什么?
puts "Hello, world!"
# The puts command displays the character string in the output screen.
puts "Goodbye, world!
发布于 2019-05-01 20:28:59
看起来你想要^[ \t]*#.+$
^ Start of string
[ \t]* Any number of space or tabs
# The # character
.+ At least one more character
$ end of line
https://stackoverflow.com/questions/55935954
复制相似问题