class Fluent::Compat::TextParser::RegexpParser
def initialize(regexp, conf = {})
def initialize(regexp, conf = {}) super() @stored_regexp = regexp @manually_configured = false unless conf.empty? conf_init = if conf.is_a?(Fluent::Config::Element) conf else Fluent::Config::Element.new('parse', '', conf, []) end self.configure(conf_init) @manually_configured = true end end