diff --git a/PipeScript.ps.psd1 b/PipeScript.ps.psd1 index 956120ee4..1e0dfaa02 100644 --- a/PipeScript.ps.psd1 +++ b/PipeScript.ps.psd1 @@ -62,7 +62,7 @@ (?>Protocol\p{P}) # Protocol + Punctuation (?=[^\p{P}]+$) # Followed by anything but punctuation. ' - } + } 'PipeScriptNoun' = @{ Description = 'Commands with the noun PipeScript' @@ -111,7 +111,20 @@ 'Sentence' = @{ Description = 'Sentence Commands' Pattern = '(?>PipeScript\p{P})?Sentence\p{P}' - } + } + + 'Compiler' = @{ + Description = 'A Compiler' + Pattern = ' + (?> + \.psx.ps1$| + Compiler\.ps1$| + \.psc.ps1$| + Compile[sr]?\p{P} + ) + ' + ExcludeCommandType = 'Application' + } 'Transpiler' = @{