Fix RegExp for version pattern (dart-lang/pub_semver#63) Escape the `.` character instead of allowing any character in between the digits.