# File rexml/xpath_parser.rb, line 45 def parse path, nodeset, break_and_return=false path.gsub!(/([\(\[])\s+/, '\1') path.gsub!( /\s+([\]\)])/, '\1' ) rv = LocationPath(path, nodeset)[1] rv = [] unless rv return rv end