Re: Problem with regular expression

2005-12-14 Thread Dr.Ruud
Andrej Kastrin schreef: > /^TI.*?\s$w\s/ /^TI.*?\s\Q$w\E\s/ See `perldoc perlre`, look for 'quoted strings'. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with regular expression

2005-12-14 Thread John Doe
Andrej Kastrin am Mittwoch, 14. Dezember 2005 08.54: > Hi all > > I have a list of terms and I have to find out, if any one of them occur > in my text. Example: > > term is e.g. ABCB1 wich is store in variable $w and my regular > expression is "...if /^TI.*?\s$w\s/m..." .That way I successfully fo

RE: Problem with regular expression

2005-12-14 Thread Moon, John
-Original Message- From: Andrej Kastrin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 2:55 AM To: beginners@perl.org Subject: Problem with regular expression Hi all I have a list of terms and I have to find out, if any one of them occur in my text. Example: term is e.g.