-
-
Notifications
You must be signed in to change notification settings - Fork 514
Closed
Description
Hello Isaac, thank you for a fantastic library, I'm planning to use it with Blot to look up files in a case-insensitive manner. I encountered unexpected behaviour when I set the nocase flag to true and searched for files containing accents. Here's a minimal example which demonstrates the issue:
var fileNameWithAccent = "å";
fs.writeFileSync(fileNameWithAccent, "");
glob.sync(fileNameWithAccent);
// returns [ 'å' ] as expected
glob.sync(fileNameWithAccent, { nocase: true });
// returns []| glob | 7.1.3 |
| OS | macOS 10.12.6 |
| node | v8.12.0 |
| npm | 6.4.1 |
Metadata
Metadata
Assignees
Labels
No labels