"Jim Bob" <invalid / invalid.com> wrote in message
> *However*.... I'm pretty sure that, somewhere, sometime, I saw some much
> more elegant way of doing this in ruby. I said "neat!", and promptly
> forgot about it. Something involving ranges, maybe? Anybody have an idea
> what I might have been thinking of, or am I misremembering?

You mean like this example from ruby-talk [73674] ?

while( line = gets )
  if /BEGIN:VCARD/ =~ line .. /END:VCARD/ =~ line
    puts line
  end
end