File tree Expand file tree Collapse file tree 1 file changed +25
-24
lines changed Expand file tree Collapse file tree 1 file changed +25
-24
lines changed Original file line number Diff line number Diff line change 16
16
' Partial' = @ {
17
17
Description = ' A partial function.'
18
18
Pattern = ' (?>PipeScript\p{P})?Partial\p{P}'
19
- }
20
-
21
- ' PreProcessor' = @ {
22
- Description = ' Preprocessing Commands'
23
- Pattern = '
24
- (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
25
- PreProc[^\p{P}]+\p{P} # Preproc + Many NotPunctuation + Punctuation
26
- '
27
- }
28
-
29
- ' PostProcessor' = @ {
30
- Description = ' PostProcessing Commands'
31
- Pattern = '
32
- (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
33
- PostProc[^\p{P}]+\p{P} # Postproc + Many NotPunctuation + Punctuation
34
- '
35
- }
19
+ }
36
20
37
21
' Optimizer' = @ {
38
22
Description = ' Optimization Commands'
112
96
'
113
97
ExcludeCommandType = ' Application'
114
98
}
99
+
100
+ ' PreProcessor' = @ {
101
+ Description = ' Preprocessing Commands'
102
+ Pattern = '
103
+ (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
104
+ PreProc[^\p{P}]+\p{P} # Preproc + Many NotPunctuation + Punctuation
105
+ '
106
+ ExcludeCommandType = ' (?>Application|Script|Cmdlet)'
107
+ }
108
+
109
+ ' PostProcessor' = @ {
110
+ Description = ' PostProcessing Commands'
111
+ Pattern = '
112
+ (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
113
+ PostProc[^\p{P}]+\p{P} # Postproc + Many NotPunctuation + Punctuation
114
+ '
115
+ ExcludeCommandType = ' (?>Application|Script|Cmdlet)'
116
+ }
115
117
116
118
' Parser' = @ {
117
119
Description = ' Parsers'
118
- Pattern = '
119
- (?>PipeScript\p{P})? # Optional PipeScript + Punctuation
120
- Parse[sr]?\p{P} # Parse or Parses or Parser + Punctuation
120
+ Pattern = '
121
+ Parse[sr]? # Parse or Parses or Parser + Punctuation
121
122
(?>
122
- ps1$ # Ending with .ps1
123
- | # or
124
- (?=[^[ \p{P}-[\.]]]+$) # Followed by anything but punctuation (except literal periods).
123
+ \. ps1$ # Ending with .ps1
124
+ | # or
125
+ \p{P}
125
126
)
126
127
'
127
- }
128
+ }
128
129
129
130
' Transpiler' =
130
131
@ {
You can’t perform that action at this time.
0 commit comments