Case insensitivity, closes #3

This commit is contained in:
sharkdp 2017-05-09 23:40:51 +02:00
parent dddd47e078
commit 4a36b0ef31

View file

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