Skip to content

Commit fd081f3

Browse files
author
Pallavi Sah
committed
Fixing regex
1 parent 661f885 commit fd081f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arm-ttk/testcases/deploymentTemplate/Parameter-Types-Should-Be-Consistent.test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ foreach ($inner in $originalInnerTemplates) {
5050
$parent.parameters.$mappedParameterName.type -ne $innerTemplateParameterType # with a different type.
5151
) {
5252
$innerTemplateParamValue = $innerTemplateParam.Value
53-
$regexParam = "[.*parameters(?<mappedParameterName>\(.*\))(\[.*?\]|\.|\,)(.*)\]" # https://regex101.com/r/V0dzVv/1 and https://regex101.com/r/ao6tsK/1 https://github.com/Azure/arm-ttk/issues/635
53+
$regexParam = "\[.*parameters(?<mappedParameterName>\(.*\))(\[.*?\]|\.|\,)(.*)\]" # https://regex101.com/r/V0dzVv/1 and https://regex101.com/r/ao6tsK/1 https://github.com/Azure/arm-ttk/issues/635
5454
if($null -ne $innerTemplateParamValue.value)
5555
{
5656
$innerTemplateParamValue = $innerTemplateParamValue.value

0 commit comments

Comments
 (0)