in reply to
Exclusive pattern matching..
By not using a regex of course! If you want exact matching, you'd use the
eq
operator.
Abigail
Comment on
Re: Exclusive pattern matching..
Download
Code
Replies are listed 'Best First'.
Re: Re: Exclusive pattern matching..
by
Anonymous Monk
on Jun 22, 2002 at 03:09 UTC
that wouldn't work too well for "i am user1" eq "user1", he probably meant something like
m{\b?\Q$word\E\b?}
[reply]
[d/l]
In Section
Seekers of Perl Wisdom