2009-12-19から1日間の記事一覧
最初にソース文字列を入れて、次に正規表現を何度も試せる非常にインタラクティブかつシンプルなコード例regex_split.cpp #include <iostream> #include <boost/regex.hpp> #include <string> using namespace std; using namespace boost; int main(int argc, char* argv[]){ cout << "--input </string></boost/regex.hpp></iostream>…