> -----Original Message----- > From: COLLINEAU Franck FTRD/DMI/TAM > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 11:08 AM > To: Perl (E-mail) > Subject: matching > > > Hi! > > I have wrote the following code: > > while (<TEMP>) > { > if(m/(http:\/\/www.01net.com\/rdn?oid=[0-9].*&rub=[0-9].*)/ ) ^ ^ ^ The chars marked are regex meta chars. You especially need to escape the question mark.
> { > print TEMP2 "$1\n" ; > } > } > > The matching doesn't work ! want to match for example : > http://www.01net.com/rdn?oid=54682&rub=12456 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]