Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.15 KB

File metadata and controls

52 lines (36 loc) · 1.15 KB

Aspect.ModuleExtensionPattern

Synopsis

Outputs a module's extension pattern


Description

Outputs a regular expression that will match any possible pattern.


Examples

EXAMPLE 1

Aspect.ModuleCommandPattern -Module PipeScript # Should -BeOfType ([Regex])

Parameters

Module

The name of a module, or a module info object.

Type Required Position PipelineInput
[Object] true 1 true (ByPropertyName)

Suffix

The suffix to apply to each named capture. Defaults to '_Command'

Type Required Position PipelineInput
[String] false 2 true (ByPropertyName)

Prefix

The prefix to apply to each named capture.

Type Required Position PipelineInput
[String] false 3 true (ByPropertyName)

Syntax

Aspect.ModuleExtensionPattern [-Module] <Object> [[-Suffix] <String>] [[-Prefix] <String>] [<CommonParameters>]