mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Remove leading '\\' from regex to fix it.
This commit is contained in:
parent
05a5a47458
commit
96138df360
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ void EnumerateLegacyTracks()
|
|||
{
|
||||
// Capture three-digit filenames, or those which start with three digits.
|
||||
|
||||
std::regex upToThreeDigits("\\\\((\\d{1,3})[^\\.]*)");
|
||||
std::regex upToThreeDigits("((\\d{1,3})[^\\.]*)");
|
||||
std::smatch result;
|
||||
for (const auto& file : std::filesystem::directory_iterator{ dir })
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue