From: Brian Candler Date: 2009-12-14T19:42:19+09:00 Subject: Re: problem with trivial regular expression David Masover wrote: >> 1. http://www.marca.comjafosjodfahttp://www.as.com > > If you think about it, that is still a valid URL. That's arguable, because of the colon. RFC 1738: URL schemes that involve the direct use of an IP-based protocol to a specified host on the Internet use a common syntax for the scheme-specific data: //:@:/ ... port The port number to connect to. Most schemes designate protocols that have a default port number. Another port number may optionally be supplied, in decimal, separated from the host by a colon. If the port is omitted, the colon is as well. However, it says "is" rather than "MUST BE". -- Posted via http://www.ruby-forum.com/.