1
0
mirror of https://github.com/sharkdp/fd synced 2024-07-01 07:14:22 +00:00

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