Mauricio FernáÏdez 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