This commit is contained in:
Glenn Maynard
2006-01-20 06:07:37 +00:00
parent aeee577a35
commit e39f1499e2
+4 -2
View File
@@ -655,9 +655,11 @@ void splitpath( const RString &Path, RString& Dir, RString& Filename, RString& E
vector<RString> mat;
/* One level of escapes for the regex, one for C. Ew.
/*
* One level of escapes for the regex, one for C. Ew.
* This is really:
* ^(.*[\\/])?(.*)$ */
* ^(.*[\\/])?(.*)$
*/
static Regex sep("^(.*[\\\\/])?(.*)$");
bool check = sep.Compare(Path, mat);
ASSERT(check);