zoukankan      html  css  js  c++  java
  • vs2012编辑器的正则替换一例

    case:

    Deployment.get_Current().get_Dispatcher().BeginInvoke(delegate
    {
    MessageBox.Show("Exception!");
    MessageBox.Show(e.get_ExceptionObject().get_Message() + "\n" + e.get_ExceptionObject().get_StackTrace());
    wph.reportError("nc_rc", e.get_ExceptionObject());
    });

    serch content: get_(\w+)\(\)

    replace content: $1(尼玛的vs又改回来了。。坑爹啊。。)

    case 2:

    stringBuilder.Append(MapUtil.string_0.get_Chars(num2));

    search content:.get_Chars\(([\w\d]+)\)

    replace content:[$1]

  • 相关阅读:
    403
    311
    401
    310
    308
    309
    307
    304
    3-1
    2-11
  • 原文地址:https://www.cnblogs.com/knightluffy/p/2839327.html
Copyright © 2011-2022 走看看