Simple c++ exercise, which uses boost 
to implement regular expression.
Similar projects can be seen at c++: 
main page 
- #include <boost/regex.hpp>
 
- #include <string>
 
- #include <iostream> 
 
- using namespace std; 
 
- int main() {
 
-   string str("This is an 12 example");
 
-   static const boost::regex exp(".*(an *[0-9]*).*");
 
-   if (boost::regex_match(str, exp)) {
 
-     cout << str << str << endl;
 
-     cout << "exp " << exp << endl;
 
-   }
 
-   return 0;
 
- }
 
- //g++ -g -I /usr/local/include/boost-1_33_1 boost.cpp /usr/local/lib/libboost_regex-gcc-1_33_1.a
 
 
 
                           |