in reply to RE: reg ex matching 101
in thread reg ex matching 101
It doesn't handle word boundaries, as you mention, but I don't see much of a difference between the magical assignment to $_ and the explicit assignment to $line.
Besides that, you could just use print "Yeppers!" if /cat/; and print;.
If I'm missing something here, please enlighten me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: reg ex matching 101
by 2501 (Pilgrim) on Oct 08, 2000 at 03:40 UTC |