On Sat, Jun 9, 2012 at 11:14 AM, Jan E. <lists / ruby-forum.com> wrote:

> He already put the link up in the first post:
> http://ruby-doc.org/core-1.9.3/String.html#method-i-sub

? There's nothing like that in the email I'm looking at, hence my
question  :-)

> sub and gsub are methods of String, not of Regexp.

True, but since the question was about regex syntax, it seemed an
obvious place to look, in the absence of any other information.

In any case, the answer is apparently yes, the String doc is wrong :-)

-- 
Hassan Schroeder ------------------------ hassan.schroeder / gmail.com
http://about.me/hassanschroeder
twitter: @hassan