[pLog-svn] r6001 - plog/branches/lifetype-1.2/class/net

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Oct 22 22:00:24 EDT 2007


Author: jondaley
Date: 2007-10-22 22:00:24 -0400 (Mon, 22 Oct 2007)
New Revision: 6001

Modified:
   plog/branches/lifetype-1.2/class/net/linkparser.class.php
Log:
hyphens always have to be at the end of a regular expression, otherwise, it tries to do a range

Modified: plog/branches/lifetype-1.2/class/net/linkparser.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/linkparser.class.php	2007-10-22 21:41:01 UTC (rev 6000)
+++ plog/branches/lifetype-1.2/class/net/linkparser.class.php	2007-10-23 02:00:24 UTC (rev 6001)
@@ -30,7 +30,7 @@
                   '{minutes}' => '([0-9]{2})?',
                   '{postname}' => '([_0-9a-zA-Z.-]+)?',
                   '{postid}' => '([0-9]+)?',
-                  '{catname}' => '([_0-9a-zA-Z-.]+)?',
+                  '{catname}' => '([_0-9a-zA-Z.-]+)?',
                   '{catid}' => '([0-9]+)?',
                   '{username}' => '([_0-9a-zA-Z-]+)?',
                   '{userid}' => '([0-9]+)?',



More information about the pLog-svn mailing list