Hello again folks.

It now works- I had to put the characters inside " " during the query.
i have used 

if ($msg =~ /roam\s*act/i)
therefore i will run c:\perl\bin->perl activate.pl "roam(space) act"


Thanks all  for your help 
especially 
Beau E. Cox
Elie De Brauwer 

----- Original Message ----- 
From: "John W. Krahn" <[EMAIL PROTECTED]>
To: "Perl Beginners" <beginners@perl.org>
Sent: Wednesday, October 19, 2005 9:29 AM
Subject: Re: white space between roam and act


> Beau E. Cox wrote:
> > 
> > Whitespace is \s  ( by default ( |\t|\n) ) 
> 
> Actually the \s character class is the same as [ \t\n\r\f].
> 
> 
> John
> -- 
> use Perl;
> program
> fulfillment
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 



-- 
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