mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-08 03:28:03 +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.
|
// 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;
|
std::smatch result;
|
||||||
for (const auto& file : std::filesystem::directory_iterator{ dir })
|
for (const auto& file : std::filesystem::directory_iterator{ dir })
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue