We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc988f2 commit 4ac0279Copy full SHA for 4ac0279
README.md
@@ -46,17 +46,17 @@ cmake --build build
46
47
```cpp
48
// Match on a single pattern
49
-for (auto& p : glob::glob("*.png")) {
+for (auto& p : glob::glob("~/.b*")) { // e.g., .bash_history, .bashrc
50
// do something with `p`
51
}
52
53
// Match on multiple patterns
54
-for (auto& p : glob::glob({"*.png", "*.jpg"})) {
+for (auto& p : glob::glob({"*.png", "*.jpg"})) { // e.g., foo.png, bar.jpg
55
56
57
58
// Match recursively with `rglob`
59
-for (auto& p : glob::rglob("**/*.hpp")) {
+for (auto& p : glob::rglob("**/*.hpp")) { // e.g., include/foo.hpp, include/foo/bar.hpp
60
61
62
```
0 commit comments