// test.cpp
#include "test.hpp"

#include <boost/regex.hpp>

int check(const std::string & test)
{
    int result = 0;
    static boost::regex
match("a*b*c*d*e*f*g*h*i*j*k*a*b*c*d*e*f*g*h*i*a*b*c*d*e*f*g*h*i*j*");
    for (int i = 0; i < 1000; ++i) {
        result += boost::regex_match(test, match);
    }
    return result;
}

