On Monday, May 20, 2002, at 03:43 , Shawn wrote:
> To get just the Auth...
>
> (my $var2=$var)=~s/^.*Proxy-Authorization: Basic //ms;
> $var2=~s/\n.*$//ms;
>
> This is unetested...

actually i just tested it - works well.

> Shawn
>
>> my $var = m/Proxy-Authorization:.+/; #should return true
>>
>> But how do i truncated to only the line? and if possible, work to the 
>> below?
>>
>> my $var2 = "893263JHGjhgjhggjghgjh";

since you asked for a 'regEx' how about

        http://www.wetware.com/drieux/pbl/RegEx/parseProxyAuth.txt

where I hope I explain myself well enough as to why I would
save in the long run by doing the RegEx....

do let me know if that helps.

ciao
drieux

---


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

Reply via email to