ECTED]
> Sent: Wednesday, November 19, 2003 3:01 AM
> To: Steve Massey
> Cc: [EMAIL PROTECTED]
> Subject: Re: matching query.
>
>
> Steve,
>
> Change your regular expression to:
>
> if ($source =~ /^\b$help\b)
>
> This sets up $help inside of a word bo
On Tue, 18 Nov 2003 21:22:07 +, Steve Massey wrote:
> I want to match Help
>
> Help ## match this
> Helps## not match this
>
> I am using syntax below, but it's not working
>
> $help = "Help";
>
> if ($source =~ /^$help/)
Do you really need to use a regular expression to do this?
Steve*2
A small correction if ($source =~ /^\b$help\b/)
chetak
-Original Message-
From: Steve Mayer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 3:01 AM
To: Steve Massey
Cc: [EMAIL PROTECTED]
Subject: Re: matching query.
Steve,
Change your regular expression to
On Nov 18, 2003, at 3:22 PM, Steve Massey wrote:
Hi all
Howdy.
I know this should be easy, but I'm at a loss
I want to match Help
Help ## match this
Helps## not match this
I am using syntax below, but it's not working
$help = "Help";
if ($source =~ /^$help/)
if ($source eq $help) ...
Steve,
Change your regular expression to:
if ($source =~ /^\b$help\b)
This sets up $help inside of a word boundry.
Steve
On Tue, Nov 18, 2003 at 09:22:07PM -, Steve Massey wrote:
> Hi all
>
> I know this should be easy, but I'm at a loss
>
> I want to match Help
>
> Help ##