mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-19 02:10:34 +01:00
Case insensitivity, closes #3
This commit is contained in:
parent
dddd47e078
commit
4a36b0ef31
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue