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

Fix about_Regular_Expressions.md #11577

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

sethvs
Copy link
Contributor

@sethvs sethvs commented Dec 11, 2024

PR Summary

According to Character Escapes in Regular Expressions
(and even [regex]::escape('3.\d{2,}') example below)
closing square bracket ] and closing squiggle brace } are not special symbols and need not to be escaped.

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

Copy link
Contributor

Learn Build status updates of commit 1b83041:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md ✅Succeeded View (powershell-5.1)
reference/7.4/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md ✅Succeeded View (powershell-7.5)

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sethvs Thanks for the updates.

@sdwheeler sdwheeler merged commit 4170a6f into MicrosoftDocs:main Dec 11, 2024
4 checks passed
@sethvs sethvs deleted the regex-2 branch December 11, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants