Skip to content

Commit 041eb70

Browse files
authored
Fix quotes in example (#12187)
1 parent 4cab801 commit 041eb70

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ For example:
589589
```powershell
590590
$1 = 'Goodbye'
591591
592-
'Hello World' -replace '(\w+) \w+', '$1 Universe'
592+
'Hello World' -replace '(\w+) \w+', "$1 Universe"
593593
# Output: Goodbye Universe
594594
595595
'Hello World' -replace '(\w+) \w+', '$1 Universe'

reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ For example:
612612
```powershell
613613
$1 = 'Goodbye'
614614
615-
'Hello World' -replace '(\w+) \w+', '$1 Universe'
615+
'Hello World' -replace '(\w+) \w+', "$1 Universe"
616616
# Output: Goodbye Universe
617617
618618
'Hello World' -replace '(\w+) \w+', '$1 Universe'

reference/7.5/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ For example:
612612
```powershell
613613
$1 = 'Goodbye'
614614
615-
'Hello World' -replace '(\w+) \w+', '$1 Universe'
615+
'Hello World' -replace '(\w+) \w+', "$1 Universe"
616616
# Output: Goodbye Universe
617617
618618
'Hello World' -replace '(\w+) \w+', '$1 Universe'

reference/7.6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ For example:
612612
```powershell
613613
$1 = 'Goodbye'
614614
615-
'Hello World' -replace '(\w+) \w+', '$1 Universe'
615+
'Hello World' -replace '(\w+) \w+', "$1 Universe"
616616
# Output: Goodbye Universe
617617
618618
'Hello World' -replace '(\w+) \w+', '$1 Universe'

0 commit comments

Comments
 (0)