corrected regex for ec2 submit one liner test