/* $Id$ */ #include #include #include #include using namespace std; using namespace Msp; int main(int argc, char **argv) { bool debug=false; GetOpt getopt; getopt.add_option('d', "debug", debug, GetOpt::NO_ARG); getopt(argc, argv); const vector &args=getopt.get_args(); if(args.empty()) { cerr<<"Usage: "<\n"; return 1; } Regex regex(args[0]); if(debug) cout<