Gabriella439 / Gabriella439/turtle
Pattern for `find` requires search directory prefix
Open
- Dominant language
- Haskell
- Stars
- 978
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
Reporting this as a note. @Gabriel439 remind me to put a PR in for this sometime. Here's the problem:
```
find (decimal *> ".md") "./md"
````
Is my first intuition for searching for all markdown files with a decimal only name in a given directory. However this Pattern fails because it is required to match the entire path. However, the following works
```
find ("./md/" *> decimal *> ".md") "./md"
```
This seems counter-intuitive to what find should be doing: matching against only the basename of a file as apposed to the relative path from the CWD.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.