You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If provided, will rename -RegEx commands with the provided -Noun.
120
74
This option is only valid when -As is Engine.
121
75
It prevents name conflicts with Irregular.
122
76
123
-
124
-
125
-
126
-
127
-
128
77
|Type |Required|Position|PipelineInput|
129
78
|----------|--------|--------|-------------|
130
79
|`[String]`|false |4 |false |
131
80
132
-
133
-
134
81
#### **WhatIf**
135
82
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
136
83
-WhatIf is used to see what would happen, or return operations without executing them
@@ -140,25 +87,18 @@ It prevents name conflicts with Irregular.
140
87
141
88
If you pass ```-Confirm:$false``` you will not be prompted.
142
89
143
-
144
90
If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$confirmImpactPreference```, you will not be prompted unless -Confirm is passed.
145
91
146
-
147
-
148
92
---
149
93
150
-
151
94
### Notes
152
95
When exporting as a script, Use-RegEx is renamed to UseRegex.
153
96
This enables embedding the core of Irregular and your Regular Expressions into a module while making it easy to avoid exporting Irregular.
154
97
155
98
To use this within a module, make sure your module explicitly exports commands, or exports with a wildcard like '*-*'.
0 commit comments