[NCLUG] CHAT script and bad password

mike cullerton michaelc at cullerton.com
Tue Oct 24 19:12:28 MDT 2000


note also that special characters can be escaped, so that

  $stuff =~ /\^hello/

would match "^hello" anywhere in string $stuff

on 10/24/00 7:04 PM, Brian Stanback at bhs at stanback.net wrote:

> In Perl the ^ tells a regular expression to match anything at the
> beginning of the string.
> 
> So $stuff =~ /^hello/ would match a "hello" at the beginning of
> string $stuff.
> Also, the $ sign in a regular expression matches anything at the end of a
> string.
> 
> On Tue, 24 Oct 2000, Stephen G. Smith wrote:
> 
>> I have a chat script that has a problem
>> with using the ^ symbol in a password.
>> I know the dialup works due to changing
>> the password to something else and having
>> success. I can recreate the problem by inserting
>> an account with a password that includes a ^ .
>> 
>> I am not a programmer but I am guessing
>> that the ^ is a reserved character.
>> 
>> Any hints on
>> 
>> A. Why does this happen?
>> B. Can I make the script pass the ^ as a legal
>> character?
>> 
>> Thanks,
>> 
>> SGS
>> _________________________________________________________________________
>> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>> 
>> Share information about yourself, create your own public profile at
>> http://profiles.msn.com.
>> 
>> _______________________________________________
>> NCLUG mailing list
>> NCLUG at nclug.org
>> http://www.nclug.org/mailman/listinfo/nclug
>> 


 -- 





More information about the NCLUG mailing list