luoyikun

导航

2015年8月22日 #

正则表达式编程实例

摘要: 1.使用c++的正则表达式替换对应内容 std::string sKey = it->first; std::string sPattern = "(<)(/)?(" + sKey + ")(>)"; std::regex rPattern(sPattern); std::string sRepla 阅读全文

posted @ 2015-08-22 03:22 luoyikun 阅读(9) 评论(0) 推荐(0)