Skip to content

Add support for Zsh style ***#225

Merged
facelessuser merged 6 commits intomainfrom
feature/globstarlong
Sep 26, 2024
Merged

Add support for Zsh style ***#225
facelessuser merged 6 commits intomainfrom
feature/globstarlong

Conversation

@facelessuser
Copy link
Owner

Resolves #224

@gir-bot gir-bot added S: needs-review Needs to be reviewed and/or approved. C: docs Related to documentation. C: glob Glob library. C: pathlib Pathlib library. C: pattern-parser Related to pattern parsing. C: source Related to source code. labels Sep 26, 2024
@facelessuser
Copy link
Owner Author

facelessuser commented Sep 26, 2024

Need to test:

  • glob
  • globmatch
  • pathlib.match
  • pathlib.rglob
  • Ensure ** does not match symliks and *** does, even if FOLLOW is enabled.
  • Ensure GLOBSTAR is enabled with GLOBSTARLONG
  • Ensure FOLLOW affects MATCHBASE properly when enabled with GLOBSTARLONG
  • Ensure FOLLOW affects pathlib.match properly when enabled with GLOBSTARLONG
  • Ensure FOLLOW affects pathlib.rglob properly when enabled with GLOBSTARLONG

@gir-bot gir-bot added the C: tests Related to testing. label Sep 26, 2024
@gir-bot gir-bot added the C: fnmatch Fnmatch library. label Sep 26, 2024
- Add missing `PurePath.full_match` method that redirects to
  `PurePath.globmatch`.
- `PurePath.match` should respect hidden file rules and symlink rules
  the same as `rglob`. `match` matches what `rglob` globs.
@facelessuser facelessuser marked this pull request as ready for review September 26, 2024 17:54
@facelessuser
Copy link
Owner Author

@gir-bot lgtm

@gir-bot gir-bot added S: approved The pull request is ready to be merged. and removed S: needs-review Needs to be reviewed and/or approved. labels Sep 26, 2024
@facelessuser facelessuser merged commit 0c069cb into main Sep 26, 2024
@facelessuser facelessuser deleted the feature/globstarlong branch September 26, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: docs Related to documentation. C: fnmatch Fnmatch library. C: glob Glob library. C: pathlib Pathlib library. C: pattern-parser Related to pattern parsing. C: source Related to source code. C: tests Related to testing. S: approved The pull request is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for ***, zsh style globstar that recurse symlinks

2 participants