Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressing fixes for GitHub issues 738, 753 and 745 #754

Merged
merged 7 commits into from
Nov 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing regex
  • Loading branch information
Pallavi Sah committed Nov 17, 2023
commit 5c140a773be9613d9d8f8b00802eb3f4a62bbc02
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