BalaRaju Vankala wrote in post #1078613:
> Hello Every One
>                 Can any one Explain URI::Regexp in Rails . I found one
> thing for validation of website URI::Regexp(%w(http https))
>                 please Explain what i URI

That expression simply matches URIs with either the http or https 
scheme:

http://www.example.com -- matches
https://www.example.com -- matches
ftp://www.example.com -- does not match

http://stdlib.rubyonrails.org/libdoc/uri/rdoc/classes/URI.html#M009247

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to