lib/asciidoctor/include_ext/include_processor.rb
def lines_selector_for(target, attributes)
      if (klass = @selectors.find { |s| s.handles? target, attributes })
        klass.new(target, attributes, logger: logger)
      end
    end
def lines_selector_for(target, attributes)
      if (klass = @selectors.find { |s| s.handles? target, attributes })
        klass.new(target, attributes, logger: logger)
      end
    end
Finds and initializes a lines selector that can handle the specified include.

 @param target (see #process)
 @param attributes (see #process)
 @return [#to_proc, nil] an instance of lines selector, or `nil` if not found.