class Capybara::Selector::RegexpDisassembler

def substrings

def substrings
  @substrings ||= begin
    strs = process(alternation: false).first
    remove_and_covered(strs)
  end
end