gabriele renzi wrote: > 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 I think the latter is harder to read, because there is more clutter, though in theory that style could also be supported by test-extract. Maybe I can add it later if there is enough demand for it. Regards, Florian Gross