From: Ryan Davis Date: 2006-08-05T02:12:27+09:00 Subject: Re: newbie qustion On Aug 1, 2006, at 4:54 PM, Robert Smith wrote: > Eric Hodel wrote: >> On Aug 1, 2006, at 3:35 PM, Robert Smith wrote: >> >>> if line =~ /^ID* (.*?) = \s* " (.*?) "/x >> next unless line =~ /^ID(\S+) "(.*?)"/ > > I tried what you said but nothing gets stored in the table...and i'm > nothing seeing why. do you see it? change the space to \s+ your original regexp didn't work because there is no =, but I agree with eric that your use of /x makes it too complex.