What does the regex pattern A.*Z match?
A.*Z
A string with A and Z only
A string starting with A and ending with Z, longest match
Any string containing A and Z in order
A string starting with A and ending with Z, shortest match