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 support for convert and case sensitivity of string comparison expressions #1001

Closed
BernieWhite opened this issue Mar 6, 2022 · 0 comments · Fixed by #1002
Closed

Add support for convert and case sensitivity of string comparison expressions #1001

BernieWhite opened this issue Mar 6, 2022 · 0 comments · Fixed by #1002
Assignees
Labels
enhancement New feature or request feature: language Issues that affect language such keywords and variables
Milestone

Comments

@BernieWhite
Copy link
Member

Add convert and caseSensitive properties to the following expressions that work with strings.

  • startsWith
  • endsWith
  • contains
  • equals
  • notEquals

Added this feature would be helpful for comparing enum values against strings which may occur for native PowerShell objects more commonly then objects from input files.

@BernieWhite BernieWhite added enhancement New feature or request feature: language Issues that affect language such keywords and variables labels Mar 6, 2022
@BernieWhite BernieWhite added this to the v2.0.0 milestone Mar 6, 2022
@BernieWhite BernieWhite self-assigned this Mar 6, 2022
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Mar 6, 2022
@BernieWhite BernieWhite mentioned this issue Mar 25, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: language Issues that affect language such keywords and variables
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant