cleanup
This commit is contained in:
@@ -655,9 +655,11 @@ void splitpath( const RString &Path, RString& Dir, RString& Filename, RString& E
|
|||||||
|
|
||||||
vector<RString> mat;
|
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:
|
* This is really:
|
||||||
* ^(.*[\\/])?(.*)$ */
|
* ^(.*[\\/])?(.*)$
|
||||||
|
*/
|
||||||
static Regex sep("^(.*[\\\\/])?(.*)$");
|
static Regex sep("^(.*[\\\\/])?(.*)$");
|
||||||
bool check = sep.Compare(Path, mat);
|
bool check = sep.Compare(Path, mat);
|
||||||
ASSERT(check);
|
ASSERT(check);
|
||||||
|
|||||||
Reference in New Issue
Block a user