def get_matcher(self, reqt):
try:<EOL><INDENT>matcher = self.scheme.matcher(reqt)<EOL><DEDENT>except UnsupportedVersionError:  <EOL><INDENT>name = reqt.split()[<NUM_LIT:0>]<EOL>matcher = self.scheme.matcher(name)<EOL><DEDENT>return matcher<EOL>
Get a version matcher for a requirement.
:param reqt: The requirement
:type reqt: str
:return: A version matcher (an instance of
         :class:`distlib.version.Matcher`).