Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regex matching support #5

Open
ChrisNeedham24 opened this issue Apr 6, 2024 · 1 comment
Open

Add regex matching support #5

ChrisNeedham24 opened this issue Apr 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ChrisNeedham24
Copy link
Owner

Seems like it'll probably be faster than glob matching, and it would be good for users to have the option of using it. When doing this, glob matching should change to a -g/--glob-pattern flag and regex matching should be -r/--regex-pattern.

@ChrisNeedham24 ChrisNeedham24 added the enhancement New feature or request label Apr 6, 2024
@ChrisNeedham24
Copy link
Owner Author

Acceptance Criteria:

  • Add support for regex matching on file names in handle_directory(), in a similar way to how glob matching currently works.
  • Change name_pattern in LffArgs to glob_pattern.
  • Add a regex_pattern attribute to LffArgs.
  • Use either the standard Rust regex crate or fancy_regex for this.

@ChrisNeedham24 ChrisNeedham24 added the hacktoberfest Issues that are appropriate for new contributors label Sep 30, 2024
@ChrisNeedham24 ChrisNeedham24 removed the hacktoberfest Issues that are appropriate for new contributors label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant