Skip to content

Instantly share code, notes, and snippets.

@icebreaker
Created August 9, 2016 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebreaker/58834c9ba59993713a21727dd487426a to your computer and use it in GitHub Desktop.
Save icebreaker/58834c9ba59993713a21727dd487426a to your computer and use it in GitHub Desktop.
Unexpected URI.extract()
>> require 'uri'
>> URI.extract('hello world test: https://helloworld.com test')
=> ["test:", "https://helloworld.com"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment