Sha256: d2c0b5dae9ed223f05c4b7ad8d9739afab24d90f5d1d33c31db66f59fb8ce22a
Contents?: true
Size: 320 Bytes
Versions: 34
Compression:
Stored size: 320 Bytes
Contents
module Yawast module Scanner class Cms def self.get_generator(body) regex = /<meta name="generator[^>]+content\s*=\s*['"]([^'"]+)['"][^>]*>/ match = body.match regex if match Yawast::Utilities.puts_info "Meta Generator: #{match[1]}" end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems