Skip to content

Commit

Permalink
Add support for dot notation in LanguageExtension transform Sub (#2974)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored Dec 13, 2023
1 parent 3a2a873 commit 0f82219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfnlint/template/transforms/_language_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _walk(self, item: Any, params: MutableMapping[str, Any], cfn: Any):
def _replace_string_params(
self, s: str, params: Mapping[str, Any]
) -> Tuple[bool, str]:
pattern = r"\${[a-zA-Z0-9:]+}"
pattern = r"\${[a-zA-Z0-9\.:]+}"
if not re.search(pattern, s):
return (True, s)
for k, v in params.items():
Expand Down

0 comments on commit 0f82219

Please sign in to comment.