Skip to content

Commit

Permalink
Fixing regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Pallavi Sah committed Nov 18, 2023
1 parent 661f885 commit fd081f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ foreach ($inner in $originalInnerTemplates) {
$parent.parameters.$mappedParameterName.type -ne $innerTemplateParameterType # with a different type.
) {
$innerTemplateParamValue = $innerTemplateParam.Value
$regexParam = "[.*parameters(?<mappedParameterName>\(.*\))(\[.*?\]|\.|\,)(.*)\]" # https://regex101.com/r/V0dzVv/1 and https://regex101.com/r/ao6tsK/1 https://github.com/Azure/arm-ttk/issues/635
$regexParam = "\[.*parameters(?<mappedParameterName>\(.*\))(\[.*?\]|\.|\,)(.*)\]" # https://regex101.com/r/V0dzVv/1 and https://regex101.com/r/ao6tsK/1 https://github.com/Azure/arm-ttk/issues/635
if($null -ne $innerTemplateParamValue.value)
{
$innerTemplateParamValue = $innerTemplateParamValue.value
Expand Down

0 comments on commit fd081f3

Please sign in to comment.