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]