Update regexes to match the version string changes in r45112.