Repository navigation
update nu-glob based on latest glob 0.3.1 changes - #9099
Merged
Merged
Conversation
Contributor
|
Cool! It's a surprise to see rust-lang/glob updated again |
Contributor
Author
|
I wish I could figure out the problem here. Something weird is going on and I can't seem to fix it in the tests. |
fdncred
marked this pull request as draft
May 4, 2023 22:47
fdncred
marked this pull request as ready for review
May 8, 2023 14:02
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #9099 +/- ##
==========================================
+ Coverage 68.77% 68.85% +0.08%
==========================================
Files 639 641 +2
Lines 101514 102315 +801
==========================================
+ Hits 69816 70450 +634
- Misses 31698 31865 +167
|
Contributor
Author
|
Let's land this while we still have some time to dog-food before the release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates
nu-globto add the latest changes and updates fromrust-lang/globv0.3.1.With these changes you can do this type of globbing
Example - with character sequences

Example - with character sequence negation

Example - normal globbing

Example - with character sequences

Not that, if you're using a character sequence by itself, you need to enclose it in quotes, otherwise nushell will think it's a range. But if you already have a type of a bare word already, no quotes are necessary, as in the last example.
User-Facing Changes
Tests + Formatting
After Submitting