From: "Maurício" Date: 2002-08-07T09:11:56+09:00 Subject: Very ineficient regular expression match Hi, The following code is supposed to print multiple regular expression matches on a given string: class Myregexp < Regexp def each (str) pos = 0 while ((pos