Skip to content

Commit d7cd5f8

Browse files
author
James Brundage
committed
Merge branch 'PipeScriptImprovements' of https://github.com/StartAutomating/PipeScript into PipeScriptImprovements
2 parents c3429f7 + 0aad735 commit d7cd5f8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Transpilers/Syntax/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ This directory and it's subdirectories contain syntax changes that enable common
2222
$Collection = $Collection | Where-Object Name -match $pattern
2323
~~~
2424

25+
## PipedAssignment Example 2
26+
27+
28+
~~~PowerShell
29+
{
30+
$Collection |=| Where-Object Name -match $pattern | Select-Object -ExpandProperty Name
31+
} | .>PipeScript
32+
33+
# This will become
34+
35+
$Collection = $Collection |
36+
Where-Object Name -match $pattern |
37+
Select-Object -ExpandProperty Name
38+
~~~
39+
2540
## RegexLiteral Example 1
2641

2742

0 commit comments

Comments
 (0)