license_from_first_capture

in lib/licensee/matchers/nuget.rb [20:24]


      def license_from_first_capture(url, pattern)
        match = url.match(pattern)
        match[1].downcase if match && match[1]
      end