diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index 0977386af..b18cf0098 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -290,7 +290,7 @@ string Console::formatFromFilename() const { try { - std::regex rgx(Pattern[i][0]); + std::regex rgx(Pattern[i][0], std::regex_constants::icase); if(std::regex_search(filename, rgx)) return Pattern[i][1]; }