James Edward Gray II wrote: > > Looks like Rob beat me to the draw this time
"Go ahead. Make my day!" > but I thought I would add one little tidbit. > > On Monday, October 13, 2003, at 12:15 PM, Rob Dixon wrote: > > > if ( /(\d+)\s+\(\d+\)/ ) { > > I think at least anchoring the pattern to the front of the line is a > good idea, just so we don't match some arbitrary junk in the middle of > one of those text lines. I would use: > > /^(\d+)\s+\(\d+\)/ > > They probably both work exactly the same, but I prefer to anchor when I > can just to reduce my chances for error. I'd agree, especially since my code is stripping enclosing whitespace. But we still don't know exactly what these records look like!. /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]