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

  • 相关阅读:
    idea配置tomcat
    使用svn时出现Can't switch /XXX/XXX because it is not the repository yet
    使用idea断点调试时出现no executable code found at line问题
    python 发送邮件
    python中子类调用父类的方法
    Java源码阅读PriorityQueue
    comparable和comparator
    java源码阅读LinkedBlockingQueue
    java源码阅读ArrayBlockingQueue
    java源码阅读LinkedList
  • 原文地址:https://www.cnblogs.com/endv/p/5914950.html
Copyright © 2011-2022 走看看