Port URL regex to vimscript

This change ports John Gruber's URL regex to Vim's regex format and removes the ruby dependency.