in reply to Re: Exclusive pattern matching..
in thread Exclusive pattern matching..

that wouldn't work too well for "i am user1" eq "user1", he probably meant something like  m{\b?\Q$word\E\b?}