From: gabriele renzi Date: 2004-10-20T03:29:20+09:00 Subject: Re: documentation as source Mauricio Fern�ndez ha scritto: > Look carefully at the example: > > # # This creates a Regexp which will match 3 "foo"s. > # re = Regexp::English.literal("foo" * 3) > # re.match("foofoofoo")[0] # => "foofoofoo" > sidenote: I'd prefer to see this done like: # This creates a Regexp which will match 3 "foo"s. # irbprompt>somecode # =>someresult # irbprompt>somemore # =>someother