No problem. Thanks for you help.
Dan -----Original Message----- From: Ahmed Moustafa Ibrahim Ahmed [mailto:[EMAIL PROTECTED]] Sent: Monday, 26 November 2001 3:35 PM To: [EMAIL PROTECTED] Subject: Re: Simple question Sidharth's reply is correct. Mine is not. Sorry for that. Ahmed Moustafa Ibrahim Ahmed wrote: > It will match only "daniel". It's the same as: if ($test eq $user). > Regards, > Ahmed > > Daniel Falkenberg wrote: > >> Hey all, >> >> Just a simple question could some one give me a clue as to what the >> folling regex will match... >> >> $user = "daniel"; >> >> if ( $test =~ /^$user/ ) { >> print "Hello world!\n"; >> } >> >> Will it match only daniel or will it match dan || danni and so on? >> >> Cheers, >> >> Dan > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]