File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,21 @@ The ending slash may be followed by ```[Text.RegularExpressions.RegexOptions]```
2626[ regex] ::new('[ a|b] ', 'IgnoreCase')
2727#### EXAMPLE 2
2828``` PowerShell
29+ Invoke-PipeScript {
30+ '/[a|b]/'.Matches('ab')
31+ }
32+ ```
33+
34+ #### EXAMPLE 3
35+ ``` PowerShell
2936{
3037 "/[$a|$b]/"
3138} | .>PipeScript
3239```
3340# This will become:
3441
3542[ regex] ::new("[ $a|$b] ", 'IgnoreCase')
36- #### EXAMPLE 3
43+ #### EXAMPLE 4
3744``` PowerShell
3845{
3946@'
@@ -52,7 +59,7 @@ The ending slash may be followed by ```[Text.RegularExpressions.RegexOptions]```
5259^ # Match the string start
5360(?<indent >\s{0,1})
5461'@, 'IgnorePatternWhitespace,IgnoreCase')
55- #### EXAMPLE 4
62+ #### EXAMPLE 5
5663``` PowerShell
5764$Keywords = "looking", "for", "these", "words"
5865```
You can’t perform that action at this time.
0 commit comments