Hi, Yukihiro Matsumoto wrote: > on 00/03/30, schneik / us.ibm.com <schneik / us.ibm.com> writes: > > |The only problem I have with this example is that scan is going through the > |work of producing an array of arrays, even though I only want the first > |match: > > a) > > x="aabbbccccdddeeeefffabcdeabcdeabcde" > (dummy, t, u, v) = /(a+)[^ace]*(c+)[^e]*(e+)/.match(x).to_a That's good news. Hmm, how could I have missed this? Can't seem to find a match for a match method anywhere in the Ruby 1.4 Reference Manual. Conrad Schneiker (This note is unofficial and subject to improvement without notice.)