Skip to content

Commit 7dd56dc

Browse files
StartAutomatingStartAutomating
authored andcommitted
RegexLiteral: Not expanding literals within AttributeAST (Fixes #290)
1 parent 7925910 commit 7dd56dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/RegexLiteral.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ $($Keywords -join '|') # followed by keywords
8686
### Parameters
8787
#### **StringConstantExpression**
8888

89+
A RegexLiteral can be any string constant expression (as long as it's not in an attribute).
90+
91+
92+
8993
> **Type**: ```[StringConstantExpressionAst]```
9094
9195
> **Required**: true
@@ -99,6 +103,10 @@ $($Keywords -join '|') # followed by keywords
99103
---
100104
#### **ExpandableStringExpression**
101105

106+
It can also by any expandable string, which allows you to construct Regexes using PowerShell variables and subexpressions.
107+
108+
109+
102110
> **Type**: ```[ExpandableStringExpressionAst]```
103111
104112
> **Required**: true

0 commit comments

Comments
 (0)