From: Jim Freeze Date: 2002-07-29T09:37:52+09:00 Subject: Re: Regular Expression question On Mon, Jul 29, 2002 at 08:39:56AM +0900, Ned Konz wrote: > > Since for a given text there are likely to be a large number of > regexes that match, how would you know which one was best for your > uses? > Yeah. Here is my program that matches a list of words. def find_regex(str) /.*/ end :-) I bet is would pass a few test cases. ;-) Jim -- Jim Freeze If only I had something clever to say for my comment... ~