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:

    if ($source =~ /^\b$help\b)

  This sets up $help inside of a word boundry.

Steve

On Tue, Nov 18, 2003 at 09:22:07PM -0000, Steve Massey wrote:
> Hi all
>
> 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/)
>
> any ideas
>
> Thanks in advance
>
> Steve
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

=============================================================
Steve Mayer                             Oracle Corporation
Project Lead                            1211 SW 5th Ave.
Portland Development Center             Suite 900
[EMAIL PROTECTED]               Portland, OR 97204
Phone:  503-525-3127
=============================================================

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to