Use iostreams instead of file descriptors for dumping.
[asdcplib.git] / src / path-test.cpp
index bc0af330dd93bdf6ca9b6e9618e8b493983f99f5..0c5f9692a05311b02dfda5f030ec9b443ee81330 100644 (file)
@@ -98,7 +98,7 @@ main(int argc, const char** argv)
 
   cerr << "----------------------------------" << endl;
   OutList.clear();
-  FindInPaths(PathMatchRegex("^[A-J].*\.h$"), InList, OutList);
+  FindInPaths(PathMatchRegex("^[A-J].*\\.h$"), InList, OutList);
 
   for ( pi = OutList.begin(); pi != OutList.end(); pi++ )
     cerr << *pi << endl;