cr50: Avoid matching a newline on getting cr50 version

The pexpect module for matching console output uses the flag
re.DOTALL, which makes the '.' match any character, including a
newline. Modify the regular expression to not use '.'.

BUG=None
TEST=Start servod and run a FAFT test that shows the cr50 version.

Change-Id: I58d5e6808ae4e011518202c7944ef169166850ac
Reviewed-on: https://chromium-review.googlesource.com/479772
Commit-Ready: Wai-Hong Tam <waihong@google.com>
Tested-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
1 file changed