Search Results for '프로그래밍/boost'


1 POSTS

  1. 2006/08/03 find_all_regex by philosup

find_all_regex

정규식은 이메일 추출용


#include <boost/algorithm/string/regex.hpp> //find_all_regex
       vector<string> tokens;
       regex rx("[_a-zA-Z0-9-]+(\\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)+");
       find_all_regex( tokens, tmp, rx );
       for(int i=0; i&lt;tokens.size(); ++i)
              m_ctrlListBox.AddString(tokens[i].c_str());

Posted by philosup

2006/08/03 15:02 2006/08/03 15:02


Calendar

«   2010/09   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30