I agree. I thought $Bill's post from the (no subject) thread... > You're a rookie on posting. Please don't top-post and trim the prior posts.
... was ... 1) incorrect - as top posting is much easier to follow 2) ambiguous - do you mean 'don't top post and DON'T trim prior posts' or 'don't top post and DO trim prior posts'? (free from sin, casting stones etc) 3) unpleasant - $Bill, who are you to make snydey remarks like that anyhow? Mark > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of R. S. > van Keuren > Sent: 04 October 2005 14:03 > Cc: [email protected] > Subject: Top posting > > > When a post starts to contain more than one previous message or pane, top > posting is much easier to follow than bottom posting. With bottom posting, > it's hard to find the most recent message. > > --Bob van Keuren > San Diego > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of $Bill > Luebkert > Sent: Tuesday, October 04, 2005 1:42 AM > To: Chris Cappelletti > Cc: [email protected] > Subject: [lists] Re: (no subject) > > > Foo Ji-Haw wrote: > > I think the tricky part is that spaces may appear within the > "..." field. > In > > which case the pattern may well be: > > > /^"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^ > "]+)"\s+"( > > > [^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+"([^"]+)"\s+$/) > > > > But I'm a rookie on regex, so this may not be optimal. > > You're a rookie on posting. Please don't top-post and trim the > prior posts. > > You can just adjust the split: > > foreach (@lines) { > my @flds = split /"\s+"|^"|"$/; # remove "s - column0 will > now be empty > if ($flds[6] eq 'pink' and $flds[8] eq 'blue') { > print "found one: $_\n"; > } > } > > -- > ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] > (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] > / ) /--< o // // Castle of Medieval Myth & Magic > http://www.todbe.com/ > -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) > _______________________________________________ > ActivePerl mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > > _______________________________________________ > ActivePerl mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
