Re: Regex extraction skipping lines

2003-07-21 Thread Wiggins d'Anconia
Jeff 'japhy' Pinyan wrote: On Jul 21, [EMAIL PROTECTED] said: system "clear"; Not terribly portable but that is ok. Neither is 'use Win32::xxx', but that's not the point. He's writing a Perl program on (and for use on) a Windows machine. How was that determined? His original script didn't have

RE: Regex extraction skipping lines

2003-07-21 Thread Jeff 'japhy' Pinyan
On Jul 21, [EMAIL PROTECTED] said: >> system "clear"; > >Not terribly portable but that is ok. Neither is 'use Win32::xxx', but that's not the point. He's writing a Perl program on (and for use on) a Windows machine. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japh

RE: Regex extraction skipping lines

2003-07-21 Thread wiggins
On Mon, 21 Jul 2003 11:38:26 -0400, "Andrew Thomas" <[EMAIL PROTECTED]> wrote: > Of course I apologize - I had meant to include that. Here it is, the > actual script is quite long so I've pared it down some to try and isolate > the problem. T

RE: Regex extraction skipping lines

2003-07-21 Thread Andrew Thomas
Thank you. Yes indeed that does solve the issue - of course I have to escape the pipe "|" character in order to make it work, but I don't run into any of the other issues anymore. As for using the straight number variables {$1, $2, $3...} I actually will be doing much more processing work with

RE: Regex extraction skipping lines

2003-07-21 Thread Jeff 'japhy' Pinyan
On Jul 21, Andrew Thomas said: >Of course I apologize - I had meant to include that. Here it is, the >actual script is quite long so I've pared it down some to try and isolate >the problem. This is the whole script now and it is still having the same >problem. But the person (I think) you're

RE: Regex extraction skipping lines

2003-07-21 Thread Tara Calishain
At 11:38 AM 7/21/2003, Andrew Thomas wrote: >Of course I apologize - I had meant to include that. Here it is, the actual >script is quite long so I've pared it down some to try and isolate the problem. This >is the whole script now and it is still having the same problem. I'm the most newbi

RE: Regex extraction skipping lines

2003-07-21 Thread Andrew Thomas
Of course I apologize - I had meant to include that. Here it is, the actual script is quite long so I've pared it down some to try and isolate the problem. This is the whole script now and it is still having the same problem. Text file is ~2800 lines like the following: Lastname, Firstname

RE: Regex extraction skipping lines

2003-07-18 Thread Mark Anderson
> Anyone have any ideas about this - is there a common mistake I might be > making here? > > I am using a simple regex to extract a few pieces of every line of a 2000+ > line text file then spitting it back into a second text file. I can't figure > out why but the output file always includes every

Re: Regex extraction skipping lines

2003-07-18 Thread Rob Dixon
Andrew Thomas wrote: > Anyone have any ideas about this - is there a common mistake I > might be making here? > > I am using a simple regex to extract a few pieces of every line of > a 2000+ line text file then spitting it back into a second text > file. I can't figure out why but the output file a

Regex extraction skipping lines

2003-07-18 Thread Andrew Thomas
Anyone have any ideas about this - is there a common mistake I might be making here? I am using a simple regex to extract a few pieces of every line of a 2000+ line text file then spitting it back into a second text file. I can't figure out why but the output file always includes every other li