Re: Regular Expression matching problem

2003-03-14 Thread Carl Jolley
On Sun, 9 Mar 2003, Electron One wrote: > Hello Everyone, > > If I have a file that contains this, > > test3.txt## > wilma > > wimagren was here > > twilma was type wilma > > wilma > > wilma > > wilma > > twowilm

AW: Regular Expression matching problem

2003-03-10 Thread Wittrock, Friedel
PROTECTED] Betreff: Re: Regular Expression matching problem Not if the fourth to sixth lines don't have a space before the end of line. Try if(/wilma\s*/). Actually, you'll need to use if(/wilma/g) to c

Re: Regular Expression matching problem

2003-03-10 Thread Phil Ritchie
| | cc: electron One <[EMAIL PROTECTED]> | | Subject: Regu

Re: Regular Expression matching problem

2003-03-09 Thread Keith C. Ivey
Electron One <[EMAIL PROTECTED]> wrote: > while(<>){ > chomp; > if(/wilma\s+/){ >print "wilma was mentioned\n"; >} > } > > # > > and I type, perl -w perlname.pl test3.txt > shouldnt th

Regular Expression matching problem

2003-03-09 Thread Electron One
Hello Everyone, If I have a file that contains this, test3.txt## wilma wimagren was here twilma was type wilma wilma wilma wilma twowilmase ###