require 'helpers/import'
import 'yuzu/postprocessors/base'

module Yuzu::PostProcessors
  class FirstParagraphPostProcessor < PostProcessor
    def initialize
      @name = :first_paragraph
      @directive = "FIRSTPARAGRAPH"
    end

    def regex
      /<p\b[^>]*?>(.*?)<\/p>/n
    end
  end
  PostProcessor.register(:first_paragraph => FirstParagraphPostProcessor)
end


require 'helpers/import'
import 'yuzu/postprocessors/base'

module Yuzu::PostProcessors
  class FirstParagraphPostProcessor < PostProcessor
    def initialize
      @name = :first_paragraph
      @directive = "FIRSTPARAGRAPH"
    end

    def regex
      /<p\b[^>]*?>([\w\W]*?)<\/p>/n
    end
  end
  PostProcessor.register(:first_paragraph => FirstParagraphPostProcessor)
end


Tweak to first paragraph processor
Tweak to first paragraph processor
