Skip to content

Commit 6fb5699

Browse files
StartAutomatingStartAutomating
authored andcommitted
Create FUNDING.yml
1 parent 3aac136 commit 6fb5699

1 file changed

Lines changed: 31 additions & 8 deletions

File tree

docs/Import-RegEx.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
Import-RegEx
22
------------
3+
4+
5+
6+
37
### Synopsis
48
Imports Regular Expressions
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Imports saved Regular Expressions.
1018

19+
20+
1121
---
22+
23+
1224
### Related Links
1325
* [Use-RegEx](Use-RegEx.md)
1426

@@ -18,7 +30,11 @@ Imports saved Regular Expressions.
1830

1931

2032

33+
34+
2135
---
36+
37+
2238
### Examples
2339
#### EXAMPLE 1
2440
```PowerShell
@@ -35,7 +51,11 @@ Import-Regex -FromModule AnotherModule # Imports Regular Expressions stored in a
3551
Import-RegEx -Name NextWord
3652
```
3753

54+
55+
3856
---
57+
58+
3959
### Parameters
4060
#### **FilePath**
4161

@@ -47,13 +67,12 @@ Files should be named $Name.regex.txt or $Name.regex.ps1
4767

4868

4969

50-
|Type |Required|Position|PipelineInput |
51-
|------------|--------|--------|---------------------|
52-
|`[String[]]`|false |1 |true (ByPropertyName)|
70+
|Type |Required|Position|PipelineInput |Aliases |
71+
|------------|--------|--------|---------------------|--------|
72+
|`[String[]]`|false |1 |true (ByPropertyName)|Fullname|
5373

5474

5575

56-
---
5776
#### **FromModule**
5877

5978
If provided, will get regular expressions from any number of already imported modules.
@@ -69,7 +88,6 @@ If provided, will get regular expressions from any number of already imported mo
6988

7089

7190

72-
---
7391
#### **Pattern**
7492

7593
One or more direct patterns to import
@@ -85,7 +103,6 @@ One or more direct patterns to import
85103

86104

87105

88-
---
89106
#### **Name**
90107

91108
The Name of the Regular Expression.
@@ -101,7 +118,6 @@ The Name of the Regular Expression.
101118

102119

103120

104-
---
105121
#### **PassThru**
106122

107123
If set, will output the imported regular expressions.
@@ -117,7 +133,11 @@ If set, will output the imported regular expressions.
117133

118134

119135

136+
137+
120138
---
139+
140+
121141
### Outputs
122142
* [Nullable](https://learn.microsoft.com/en-us/dotnet/api/System.Nullable)
123143

@@ -127,9 +147,12 @@ If set, will output the imported regular expressions.
127147

128148

129149

150+
151+
130152
---
153+
154+
131155
### Syntax
132156
```PowerShell
133157
Import-RegEx [[-FilePath] <String[]>] [[-FromModule] <String[]>] [[-Pattern] <String[]>] [[-Name] <String[]>] [-PassThru] [<CommonParameters>]
134158
```
135-
---

0 commit comments

Comments
 (0)