diff --git a/src/fnd.cpp b/src/fnd.cpp index 5c3a622..685079f 100644 --- a/src/fnd.cpp +++ b/src/fnd.cpp @@ -49,7 +49,8 @@ int main(int argc, char* argv[]) { // try to parse the argument as a regex try { - std::regex re(argument); + std::regex re(argument, std::regex_constants::ECMAScript + | std::regex_constants::icase ); findFiles(re); }