Case insensitivity, closes #3

This commit is contained in:
sharkdp 2017-05-09 23:40:51 +02:00
parent dddd47e078
commit 4a36b0ef31
1 changed files with 2 additions and 1 deletions

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