File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,21 @@ An argument list.
138138| ------------------| --------| -------| -------------|
139139| ``` [PSObject[]] ``` | false | 11 | false |
140140---
141+ #### ** LinePattern**
142+
143+ Some languages only allow single-line comments.
144+ To work with these languages, provide a -LinePattern indicating what makes a comment
145+ Only lines beginning with this pattern within -StartPattern and -EndPattern will be considered a script.
146+
147+
148+
149+ | Type | Requried| Postion| PipelineInput|
150+ | -------------| --------| -------| -------------|
151+ | ``` [Regex] ``` | false | 12 | false |
152+ ---
141153### Syntax
142154``` PowerShell
143- PipeScript.Inline [-SourceText] <String> [[-ReplacePattern] <Regex>] [[-StartPattern] <Regex>] [[-EndPattern] <Regex>] [[-ReplacementEvaluator] <ScriptBlock>] [-NoTranspile] [[-SourceFile] <String>] [[-Begin] <ScriptBlock>] [[-ForeachObject] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Parameter] <IDictionary>] [[-ArgumentList] <PSObject[]>] [<CommonParameters>]
155+ PipeScript.Inline [-SourceText] <String> [[-ReplacePattern] <Regex>] [[-StartPattern] <Regex>] [[-EndPattern] <Regex>] [[-ReplacementEvaluator] <ScriptBlock>] [-NoTranspile] [[-SourceFile] <String>] [[-Begin] <ScriptBlock>] [[-ForeachObject] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Parameter] <IDictionary>] [[-ArgumentList] <PSObject[]>] [[-LinePattern] <Regex>] [ <CommonParameters>]
144156```
145157---
146158
You can’t perform that action at this time.
0 commit comments