Marcin Mielʥyʧki wrote:

Ooops,

the newline in regexp is not needed...
> 
> try this one
> 
> open("file").read.scan(/(\w)\s+(.+?)\s+(\w+)\s+(.*?)$/){|req,num,cls,dsc| 
> ...}
> 
> lopex

lopex