From: Brian Candler Date: 2010-09-16T23:22:28+09:00 Subject: Re: How the regular expression to match "//"? > if line =~ /^////.*/ if line =~ /^\/\// if line =~ %r{^//} (note that the .* does nothing in your original regexp, i.e. it can be removed without changing the behaviour) -- Posted via http://www.ruby-forum.com/.