RE: Pattern Matching...again...
helor, Scott'; '[EMAIL PROTECTED]' Subject:RE: Pattern Matching...again... A few things... If ($var1 =~ /\b$var2?\b/I) { ^^ it should be "if" not "If" If ($var1 =~ /\b$var2?\b/I) { ^ The switch is "i" not "I" Pr
RE: Pattern Matching...again...
A few things... If ($var1 =~ /\b$var2?\b/I) { ^^ it should be "if" not "If" If ($var1 =~ /\b$var2?\b/I) { ^ The switch is "i" not "I" Print "cannot contain that word.\n"; ^ the "p" in print is lower case (are you using Win32::ASP?) if ($var1 =~ /\b$var2?\b/i) {