vim 正则表达式替换简单例子

    xiaoxiao2021-12-15  20

    校验之前  /** sdfaasdfads */     

    校验之后  /// sdfaasdfads 

    正则表达式:%s/^\([ ].*\/\*\{2,\}\)\(.*\)\(\*\{1,\}\/[ ].*\)$/\/\/\/\2 

    转载请注明原文地址: https://ju.6miu.com/read-1000040.html

    最新回复(0)