In case the file path is ended with /, you should not translate to ** but to * only
The differences between ** and * is that
/* match all the child files under that dir but NOT the sub directories
/** match all the child files AND sub directories (need a recursive parse)
Another issue is that this parser is not handling backtick \ characters.
If a file path has \ in front of a whitespace(Window), an @ or a #, it should still be valid file path
In case the file path is ended with
/, you should not translate to**but to*onlyThe differences between
**and*is that/*match all the child files under that dir but NOT the sub directories/**match all the child files AND sub directories (need a recursive parse)Another issue is that this parser is not handling backtick
\characters.If a file path has
\in front of a whitespace(Window), an@or a#, it should still be valid file path