module LicenseFinder::License::Text

def self.compile_to_regex(text)

def self.compile_to_regex(text)
  Regexp.new(Regexp.escape(text).gsub(PLACEHOLDERS, '(.*)'))
end

def self.normalize_punctuation(text)

def self.normalize_punctuation(text)
  text.gsub(SPACES, ' ')
      .gsub(QUOTES, '"')
      .strip
end