mirror of https://github.com/sharkdp/fd.git
Case insensitivity, closes #3
This commit is contained in:
parent
dddd47e078
commit
4a36b0ef31
|
@ -49,7 +49,8 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
// try to parse the argument as a regex
|
// try to parse the argument as a regex
|
||||||
try {
|
try {
|
||||||
std::regex re(argument);
|
std::regex re(argument, std::regex_constants::ECMAScript
|
||||||
|
| std::regex_constants::icase );
|
||||||
|
|
||||||
findFiles(re);
|
findFiles(re);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue