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 #11569

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ characters).
### Numbers

The `\d` character class will match any decimal digit. Conversely, `\D` will
match any non-decimal digit.
match any character except decimal digits.

```powershell
# This expression returns true if it matches a server name.
Expand Down Expand Up @@ -200,8 +200,8 @@ characters.
When using anchors in PowerShell, you should understand the difference between
**Singleline** and **Multiline** regular expression options.

- **Multiline**: Multiline mode forces `^` and `$` to match the beginning end
of every LINE instead of the beginning and end of the input string.
- **Multiline**: Multiline mode forces `^` and `$` to match the beginning and
end of every LINE instead of the beginning and end of the input string.
- **Singleline**: Singleline mode treats the input string as a **SingleLine**.
It forces the `.` character to match every character (including newlines),
instead of matching every character EXCEPT the newline `\n`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ characters).
### Numbers

The `\d` character class will match any decimal digit. Conversely, `\D` will
match any non-decimal digit.
match any character except decimal digits.

```powershell
# This expression returns true if it matches a server name.
Expand Down Expand Up @@ -200,8 +200,8 @@ characters.
When using anchors in PowerShell, you should understand the difference between
**Singleline** and **Multiline** regular expression options.

- **Multiline**: Multiline mode forces `^` and `$` to match the beginning end
of every LINE instead of the beginning and end of the input string.
- **Multiline**: Multiline mode forces `^` and `$` to match the beginning and
end of every LINE instead of the beginning and end of the input string.
- **Singleline**: Singleline mode treats the input string as a **SingleLine**.
It forces the `.` character to match every character (including newlines),
instead of matching every character EXCEPT the newline `\n`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ characters).
### Numbers

The `\d` character class will match any decimal digit. Conversely, `\D` will
match any non-decimal digit.
match any character except decimal digits.

```powershell
# This expression returns true if it matches a server name.
Expand Down Expand Up @@ -201,8 +201,8 @@ characters.
When using anchors in PowerShell, you should understand the difference between
**Singleline** and **Multiline** regular expression options.

- **Multiline**: Multiline mode forces `^` and `$` to match the beginning end
of every LINE instead of the beginning and end of the input string.
- **Multiline**: Multiline mode forces `^` and `$` to match the beginning and
end of every LINE instead of the beginning and end of the input string.
- **Singleline**: Singleline mode treats the input string as a **SingleLine**.
It forces the `.` character to match every character (including newlines),
instead of matching every character EXCEPT the newline `\n`.
Expand Down