[NCLUG] CHAT script and bad password

Brian Stanback bhs at stanback.net
Tue Oct 24 19:04:55 MDT 2000


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
> 

-- 
Brian Stanback
http://www.stanback.net




More information about the NCLUG mailing list