File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 2020 * [ Exclude files from the matching] ( #exclude-files-from-the-matching )
2121 * [ Wildcards: Match any one character with question mark ('?')] ( #wildcards-match-any-one-character-with-question-mark- )
2222 * [ Case sensitivity] ( #case-sensitivity )
23+ * [ Tilde expansion] ( #tilde-expansion )
2324- [ Contributing] ( #contributing )
2425- [ License] ( #license )
2526
@@ -260,6 +261,19 @@ foo@bar:~$ ./glob -i "test_files_05/*.png","test_files_05/*.PNG"
260261"test_files_05/file4.PNG"
261262```
262263
264+ ### Tilde expansion
265+
266+ ``` console
267+ foo@bar:~ $ ./glob -i " ~/.b*"
268+ "/Users/pranav/.bashrc"
269+ "/Users/pranav/.bash_sessions"
270+ "/Users/pranav/.bash_profile"
271+ "/Users/pranav/.bash_history"
272+
273+ foo@bar:~ $ ./glob -i " ~/Documents/Projects/glob/**/glob/*.h"
274+ "/Users/pranav/Documents/Projects/glob/include/glob/glob.h"
275+ ```
276+
263277## Contributing
264278Contributions are welcome, have a look at the [ CONTRIBUTING.md] ( CONTRIBUTING.md ) document for more information.
265279
You can’t perform that action at this time.
0 commit comments