From 50da301508a66f8565ec5211b13f377cebfee9d1 Mon Sep 17 00:00:00 2001 From: sethvs Date: Sat, 7 Dec 2024 20:50:15 +0300 Subject: [PATCH] Fix about_Regular_Expressions.md --- .../About/about_Regular_Expressions.md | 6 +++--- .../About/about_Regular_Expressions.md | 6 +++--- .../About/about_Regular_Expressions.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md index 25bf56423c06..386cca8e2b48 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md @@ -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. @@ -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`. diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md index af781925c776..cb05b0b19615 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md @@ -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. @@ -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`. diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md index 35f1a1ac10b6..4eb93905846e 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md @@ -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. @@ -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`.