From: "Jan E." Date: 2012-06-10T03:14:06+09:00 Subject: Re: Ruby API sub and gsub error? Hassan Schroeder wrote in post #1063853: > Where exactly did you copy this broken example from? He already put the link up in the first post: http://ruby-doc.org/core-1.9.3/String.html#method-i-sub sub and gsub are methods of String, not of Regexp. -- Posted via http://www.ruby-forum.com/.