We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require 'nokogiri' require 'open-uri' url = 'http://www.google.com/advanced_search?hl=en' doc = Nokogiri.parse( open(url).read ) list = [ 'input[@name^="as_"]', # okay 'input[@name^= "as_"]', # error 'input[@name ^="as_"]', # error 'input[@name ^= "as_"]' # error ] list.each do | css | begin doc.search( css ) puts "#{css} - okay" rescue StandardError => e puts "#{css} - #{e.message}" end end
The text was updated successfully, but these errors were encountered:
making the parser return normalized strings. closed by 21c3478
Sorry, something went wrong.
Merge pull request #36 from rubys/copy-to-lib
8f4c714
copy shared object to lib directory
No branches or pull requests
The text was updated successfully, but these errors were encountered: