Skip to content

Commit f45a8c5

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating Module Version [0.1.3] and CHANGELOG. Fixes #219
1 parent 72e5078 commit f45a8c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Search-PipeScript.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ function Search-PipeScript {
33
.Synopsis
44
Searches PowerShell and PipeScript ScriptBlocks
55
.Description
6-
Searches PowerShell and PipeScript ScriptBlocks, files, and text
6+
Searches the contents of PowerShell and PipeScript ScriptBlocks, files, and text.
7+
Search-PipeScript can search using an -ASTCondition -or -ASTType or with a -RegularExpression.
78
.Example
89
Search-PipeScript -ScriptBlock {
910
$a
@@ -63,7 +64,7 @@ function Search-PipeScript {
6364

6465
# One or more regular expressions to match.
6566
[Parameter(ValueFromPipelineByPropertyName)]
66-
[Alias('RegEx')]
67+
[Alias('RegEx','Regexes','RegularExpressions')]
6768
[ValidateScript({
6869
$validTypeList = [System.String],[System.Text.RegularExpressions.Regex],[System.String[]],[System.Text.RegularExpressions.Regex[]]
6970
$thisType = $_.GetType()

0 commit comments

Comments
 (0)