cvs: pear(BRANCH_0_5_X) /Net_SmartIRC SmartIRC.php

From: Date: Fri, 27 May 2005 22:03:19 +0000
Subject: cvs: pear(BRANCH_0_5_X) /Net_SmartIRC SmartIRC.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32166@lists.php.net to get a copy of this message
meebey Fri May 27 18:03:19 2005 EDT Modified files: (Branch: BRANCH_0_5_X) /pear/Net_SmartIRC SmartIRC.php Log: - regex fix http://cvs.php.net/diff.php/pear/Net_SmartIRC/SmartIRC.php?r1=1.54.2.12&r2=1.54.2.13&ty=u Index: pear/Net_SmartIRC/SmartIRC.php diff -u pear/Net_SmartIRC/SmartIRC.php:1.54.2.12 pear/Net_SmartIRC/SmartIRC.php:1.54.2.13 --- pear/Net_SmartIRC/SmartIRC.php:1.54.2.12 Mon Jun 28 16:47:48 2004 +++ pear/Net_SmartIRC/SmartIRC.php Fri May 27 18:03:18 2005 @@ -1,9 +1,9 @@ <?php /** - * $Id: SmartIRC.php,v 1.54.2.12 2004/06/28 20:47:48 meebey Exp $ - * $Revision: 1.54.2.12 $ + * $Id: SmartIRC.php,v 1.54.2.13 2005/05/27 22:03:18 meebey Exp $ + * $Revision: 1.54.2.13 $ * $Author: meebey $ - * $Date: 2004/06/28 20:47:48 $ + * $Date: 2005/05/27 22:03:18 $ * * Net_SmartIRC * This is a PHP class for communication with IRC networks, @@ -46,7 +46,7 @@ include_once('SmartIRC/defines.php'); include_once('SmartIRC/irccommands.php'); include_once('SmartIRC/messagehandler.php'); -define('SMARTIRC_VERSION', '0.5.6 ($Revision: 1.54.2.12 $)'); +define('SMARTIRC_VERSION', '0.5.6 ($Revision: 1.54.2.13 $)'); define('SMARTIRC_VERSIONSTRING', 'Net_SmartIRC '.SMARTIRC_VERSION); /** @@ -1801,7 +1801,7 @@ */ function _gettype($line) { - if (preg_match('/^:.* [0-9]{3} .*$/', $line) == 1) { + if (preg_match('/^:[^ ]+? [0-9]{3} .+$/', $line) == 1) { $lineex = explode(' ', $line); $code = $lineex[1];

« previous php.pear.cvs (#32166) next »