#include #include #include "RegExp.h" main (int argc, char** argv) { char* s = "toto"; char* s1 = "tota toto"; if (argc > 1) s1 = argv[1]; CcuRegExp re = s; if (re.Compile ()) { if (re.Match (s1)) printf ("%s\n",s1); } }