Add RegEx class. Refactor PatternMatcher.

This commit is contained in:
Martín Lucas Golini
2024-09-21 22:29:23 -03:00
parent 329eb793a5
commit 04e5cd5fb6
21 changed files with 573 additions and 323 deletions

View File

@@ -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;
}