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 29
29
' Partial' = @ {
30
30
Description = ' A partial function.'
31
31
Pattern = ' (?>PipeScript\p{P})?Partial\p{P}'
32
- }
33
-
34
- ' PreProcessor' = @ {
35
- Description = ' Preprocessing Commands'
36
- Pattern = '
37
- (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
38
- PreProc[^\p{P}]+\p{P} # Preproc + Many NotPunctuation + Punctuation
39
- '
40
- }
41
-
42
- ' PostProcessor' = @ {
43
- Description = ' PostProcessing Commands'
44
- Pattern = '
45
- (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
46
- PostProc[^\p{P}]+\p{P} # Postproc + Many NotPunctuation + Punctuation
47
- '
48
- }
32
+ }
49
33
50
34
' Optimizer' = @ {
51
35
Description = ' Optimization Commands'
125
109
'
126
110
ExcludeCommandType = ' Application'
127
111
}
112
+
113
+ ' PreProcessor' = @ {
114
+ Description = ' Preprocessing Commands'
115
+ Pattern = '
116
+ (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
117
+ PreProc[^\p{P}]+\p{P} # Preproc + Many NotPunctuation + Punctuation
118
+ '
119
+ ExcludeCommandType = ' (?>Application|Script|Cmdlet)'
120
+ }
121
+
122
+ ' PostProcessor' = @ {
123
+ Description = ' PostProcessing Commands'
124
+ Pattern = '
125
+ (?>PipeScript\p{P})? # (optionally) PipeScript+Punctuation
126
+ PostProc[^\p{P}]+\p{P} # Postproc + Many NotPunctuation + Punctuation
127
+ '
128
+ ExcludeCommandType = ' (?>Application|Script|Cmdlet)'
129
+ }
128
130
129
131
' Parser' = @ {
130
132
Description = ' Parsers'
131
- Pattern = '
132
- (?>PipeScript\p{P})? # Optional PipeScript + Punctuation
133
- Parse[sr]?\p{P} # Parse or Parses or Parser + Punctuation
133
+ Pattern = '
134
+ Parse[sr]? # Parse or Parses or Parser + Punctuation
134
135
(?>
135
- ps1$ # Ending with .ps1
136
- | # or
137
- (?=[^[ \p{P}-[\.]]]+$) # Followed by anything but punctuation (except literal periods).
136
+ \. ps1$ # Ending with .ps1
137
+ | # or
138
+ \p{P}
138
139
)
139
140
'
140
- }
141
+ }
141
142
142
143
' Transpiler' =
143
144
@ {
You can’t perform that action at this time.
0 commit comments