zoukankan      html  css  js  c++  java
  • 当两行的数据一样时,要删除一行的正则表达式解决办法。

    当两行的数据一样时,要删除一行的解决办法。

    vs 2015解决方案 项目文件编辑时的正则表达式,查找换行的表达式。

    ((</OutDir>s
    ..*</OutDir>)[Ss])[Ss]
    

      第一个</OutDir> 是开始点,第二个是结束点。

    网上找了半天没找到,只能自己研究了(endv.cn)。

     1   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     2     <OutDir>D:devendv	y$(Configuration)</OutDir>
     3     <OutDir>D:devendv	y$(Configuration)</OutDir>
     4     <LinkIncremental>true</LinkIncremental>
     5     <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
     6     <TargetName>$(XamlTemporaryAssemblyName)</TargetName>
     7   </PropertyGroup>
     8   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     9     <OutDir>D:devendv	y$(Configuration)</OutDir>
    10     <OutDir>D:devendv	y$(Configuration)</OutDir>
    11     <LinkIncremental>false</LinkIncremental>
    12     <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    13   </PropertyGroup>
    14   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Unicode|Win32'">
    15     <OutDir>D:devendv	y$(Configuration)</OutDir>
    16     <OutDir>D:devendv	y$(Configuration)</OutDir>

    网上查找的时间比自己研究的时间还要多,有的时候也会无语。

    参考百度百科

    http://baike.baidu.com/link?url=Ke4KqkWP3RGakBmBc4XzxBJ2u38eKmqhn3AnL_CuLrwMPy1Op2eivWcfpoJ6xoz0

  • 相关阅读:
    重构引发的开发思考
    JS-正则表达式
    中文数字转数值
    框架-VuePress(未完)
    HTML-表格
    框架-Vue 2.*的补充
    框架-Vue Class Component tsx 支持(vue-tsx-support V2.2.0)
    CSS-flex
    框架-Vue Class Component 官方支持(vue 2.*、Vue Class Component、vue-property-decorator 9.0.2、vuex-class 0.3.2)
    vue-router:2020-03-26
  • 原文地址:https://www.cnblogs.com/endv/p/5914950.html
Copyright © 2011-2022 走看看