mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 19:46:29 +03:00
Add RegEx class. Refactor PatternMatcher.
This commit is contained in:
@@ -934,7 +934,7 @@ static bool isPath( const std::string& file ) {
|
||||
bool ret = !file.empty() && file[0] == '/';
|
||||
#if EE_PLATFORM == EE_PLATFORM_WIN
|
||||
if ( !ret )
|
||||
ret = LuaPattern::matches( file, "%w:[\\/][\\/]" );
|
||||
ret = LuaPattern::hasMatches( file, "%w:[\\/][\\/]" );
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user