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?

Thanks,

Best regards,

Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Forestieres
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
[EMAIL PROTECTED] 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to