Repository navigation
Add Culture parameter to Select-String cmdlet - #10943
Aditya Patwardhan (adityapatwardhan) merged 6 commits into
Conversation
Steve Lee (SteveL-MSFT)
left a comment
There was a problem hiding this comment.
Please address Codacy issues
I fix one but second impossible (interface implementation). |
30524de to
aa9cc09
Compare
| @@ -1734,7 +1841,7 @@ private bool DoMatchWorker(string operandString, MatchInfo matchInfo, out MatchI | |||
| { | |||
There was a problem hiding this comment.
This old 'StringComparison compareOption = ...' code can be removed.
|
Ilya (@iSazonov) Can you respond to comment from Paul Higinbotham (@PaulHigin) |
|
Aditya Patwardhan (@adityapatwardhan) Paul's comment addressed. Doc issue was filled. |
| /// <summary> | ||
| /// Get list of valid culture names for ValidateSet attribute. | ||
| /// </summary> | ||
| public class ValidateMatchStringCultureNamesGenerator : IValidateSetValuesGenerator |
There was a problem hiding this comment.
Can this be internal?
There was a problem hiding this comment.
It must be public:
PowerShell/src/System.Management.Automation/engine/Attributes.cs
Lines 1715 to 1723 in fe40fbf
|
Ilya (@iSazonov) Please respond the comment from Travis Plunk (@TravisEz13) |
|
🎉 Handy links: |
PR Summary
Fix #8180
Add new
Cultureparameter to Select-String cmdlet.PR Context
Implement PowerShell/PowerShell-RFC#167 for Select-String cmdlet.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.