in reply to Re^3: regex not working..
in thread regex not working..
-code to answer the question.irc response while trying to connect: NOTICE AUTH :*** Ident broken or disabled, to continue to connect you +must type PASS 16934
nothing happens..my $pass; while (my $input = <$sock>) { if (index($input, "/QUOTE") != -1) { my $str = $input; ($pass) = $str =~ m{/QUOTE\sPASS\s(.*?)$}; print $sock "QUOTE PASS $pass\r\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: regex not working..
by Corion (Patriarch) on May 12, 2012 at 18:00 UTC | |
|
Re^5: regex not working..
by AnomalousMonk (Archbishop) on May 12, 2012 at 18:16 UTC | |
|
Re^5: regex not working..
by aaron_baugher (Curate) on May 13, 2012 at 01:38 UTC |