Re: Find and delete a line, problems finding
- From: "Mumia W." <mumia.w.18.spam+fbi.gov@xxxxxxxxxxxxx>
- Date: Mon, 08 May 2006 23:01:24 GMT
sakuragirl1 wrote:
[...]
print TEMPFILE $line unless $line =~ (/$accountnumber/ &&
[...]
You might want to match against word boundaries for the account number, e.g.;
/\b$accountnumber\b/
See "man perlre" as Paul Lalli suggested.
.
- References:
- Find and delete a line, problems finding
- From: sakuragirl1
- Find and delete a line, problems finding
- Prev by Date: Re: Disappointed by perl..
- Next by Date: Re: Find and delete a line, problems finding
- Previous by thread: Re: Find and delete a line, problems finding
- Next by thread: Win32 SerialPort
- Index(es):