Sha256: 93eca02f695204cf9f241b332b1a9f494c42df307c908736c57ec22acf2afbab

Contents?: true

Size: 388 Bytes

Versions: 7

Compression:

Stored size: 388 Bytes

Contents

# for read Fluent::TextParser::TEMPLATE_REGISTRY
require "fluent/registry"
require "fluent/configurable"
require "fluent/parser"
require "regexp_preview/single_line"
require "regexp_preview/multi_line"

module RegexpPreview
  def self.processor(parse_type)
    case parse_type
    when "multiline"
      RegexpPreview::MultiLine
    else
      RegexpPreview::SingleLine
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 lib/regexp_preview.rb
fluentd-ui-1.2.0 lib/regexp_preview.rb
fluentd-ui-1.1.0 lib/regexp_preview.rb
fluentd-ui-1.0.1 lib/regexp_preview.rb
fluentd-ui-1.0.0 lib/regexp_preview.rb
fluentd-ui-1.0.0.beta.1 lib/regexp_preview.rb
fluentd-ui-1.0.0.alpha.3 lib/regexp_preview.rb