On Feb 2, 2006, at 8:25 AM, Jay Hannah wrote:
Andy Lester wrote:(2) What does this print (what does adding parens change)?:Adding parens doesn't change anything as far as what matches or doesn't. It only captures the match.Sure it does, sometimes. Parens allow for multi-character control of the | character while matching. That's why I always use them.
I meant in the two examples given, of /AAA|BBB/ and /(AAA|BBB)/ -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance