2011-02-19 wcdj
[1] regex_search
[2] regex_match
[3] Retrieve a Match tr1::cmatch
[4] regex_replace
[5] Case-insensitive std::tr1::regex_constants::icase
参考:
[1] Quick Start for C++ TR1 Regular Expressions
http://www.codeproject.com/KB/string/TR1Regex.aspx
[2] Getting started with C++ TR1 regular expressions
http://www.johndcook.com/cpp_regex.html

本文通过实例介绍了C++ TR1正则表达式的使用方法,包括搜索、匹配、检索匹配项、替换字符串及设置大小写不敏感等操作。
132

被折叠的 条评论
为什么被折叠?



