On Jan 3, Shawn said: > Off the of your head, do you have any idea how much '$line=$_' slows >the script down since you are now performing 2 separate regex's? Or >does it in fact speed it up?
You should probably be using two regexes, since that's the most clear. The fact that you have two strings isn't really that important, unless the string is huge. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]