在 GNU sed 中它有效。例如,这匹配多行模式空间中的两个空行(使用创建N)
N
/^\n$/
这是标准吗?
sed text-processing posix regular-expression
posix ×1
regular-expression ×1
sed ×1
text-processing ×1