cloudformation-cli
cloudformation-cli copied to clipboard
Incorrect test inputs produced for RegEx word character
Specifying a pattern using a word character (e.g. ^[\w\-.~]+$) causes invalid generated test inputs such as ŏŏşNÇţā3MKÁŔßïõŜàĆXń²ńÖÞ.
Replacing the above RegEx with ^[A-Za-z0-9_\-.~]+$ fixes this issue, so I assume that CFN CLI has a bug specifically related to \w.