vim正则匹配:
空行:/^$/ /^[ \t]*$/
注释行:/^#/ /^[ \t]*#/
:1,$ s/\([Rr]\)oot/\1ename/
:1,$ s/\(square\) and \(fair\) /\2 and \1/
2024-04-02 18:24:18
vim正则匹配:
空行:/^$/ /^[ \t]*$/
注释行:/^#/ /^[ \t]*#/
:1,$ s/\([Rr]\)oot/\1ename/
:1,$ s/\(square\) and \(fair\) /\2 and \1/