Closed dr3 closed 1 month ago
Looks like the re.search doesn't do multiline pattern matching so the newlines are throwing it off. Instead of spending resources validating that its a string it just makes sense to remove it. This field is related to some boto automation in which we are taking patterns from botocore. We had an exception for "." so added one for "^.$" as well.
CloudFormation Lint Version
1.17.2
What operating system are you using?
Mac
Describe the bug
(Introduced In
1.17.0
, works in1.16.1
)String does not match '^.*$' (which is regex for "anything")
Expected behavior
It passes
Reproduction template