79 80 81
# File 'lib/protocol/http/url.rb', line 79 def self.split(name) name.scan(/([^\[]+)|(?:\[(.*?)\])/).flatten!.compact! end