Skip to content

Commit 5a5aebd

Browse files
authored
Merge pull request #11572 from MicrosoftDocs/main
12/9/2024 PM Publish
2 parents 629e8a9 + d376e0e commit 5a5aebd

File tree

7 files changed

+1487
-11
lines changed

7 files changed

+1487
-11
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ characters).
8181
### Numbers
8282

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

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

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

0 commit comments

Comments
 (0)