Hi again,
I want to make a search on two words.
If 'one two' is found, it is okay. If 'one' is found, it is incorrect. If 'two' is found, it is also incorrect.
I want the search to return me occurences of 'one two' found together.
I am searching this way : if ($text =~ /one two/)
What I am doing wrong?
Nothing that I can see. Although, /\bone two\b/ is probably slightly better. What's the problem?
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>