# File lib/rubygems/version.rb, line 160 def self.correct? version version.to_s =~ ANCHORED_VERSION_PATTERN end