-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ARM TTK to version 20210913 (#52)
* Update ARM TTK to version 20210913 Co-authored-by: Sam Meel <[email protected]>
- Loading branch information
Showing
25 changed files
with
11,484 additions
and
7,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<# | ||
.Synopsis | ||
Matches an Output containing an element | ||
.Description | ||
Matches a CreateUIDefinition output that contains an element name (references to steps or basics) | ||
#> | ||
param( | ||
# The name of the control. By default, matches any control not in steps. | ||
[string] | ||
$ControlName = '\w+', | ||
|
||
# The name of the step. | ||
[string] | ||
$StepName | ||
) | ||
|
||
|
||
if ($StepName) { | ||
@" | ||
steps\( | ||
\s{0,} | ||
'(?<StepName>$StepName)' | ||
\s{0,} | ||
\) | ||
(?: | ||
\. | ||
(?<Property>\w+) | ||
){0,}?(?=\z|\.${ControlName}) | ||
\.${ControlName} | ||
"@ | ||
} else { | ||
@" | ||
basics\( | ||
\s{0,} | ||
'(?<ControlName>$ControlName)' | ||
\s{0,} | ||
\) | ||
(?: | ||
\. | ||
(?<Property>\w+) | ||
){0,} | ||
"@ | ||
} |
Oops, something went wrong.