Chad Perrin wrote:
At a wild guess, I'd say that you're probably getting the matches you want, plus getting the "my name =" as a match. The reason is that you didn't specify that the leading spaces before the word "name" must be at the beginning of the line. For that, use "^". Use "perldoc perlre" to learn more about it.
Oh, no =( Thanks! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>