[pLog-svn] r3504 - plog/trunk/class/net

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jun 1 20:14:33 GMT 2006


Author: oscar
Date: 2006-06-01 20:14:33 +0000 (Thu, 01 Jun 2006)
New Revision: 3504

Modified:
   plog/trunk/class/net/linkparser.class.php
Log:
there was a discussion related to allowing dots in permalinks in issue http://bugs.lifetype.net/view.php?id=901 and in the meantime, issue http://bugs.lifetype.net/view.php?id=914 was recently reported. I've added the dot character to the regular expression that parses permalinks,
but let's not close issue 901 yet in case there are other characters that need to be added.


Modified: plog/trunk/class/net/linkparser.class.php
===================================================================
--- plog/trunk/class/net/linkparser.class.php	2006-06-01 19:57:45 UTC (rev 3503)
+++ plog/trunk/class/net/linkparser.class.php	2006-06-01 20:14:33 UTC (rev 3504)
@@ -28,7 +28,7 @@
                   '{day}' => '([0-9]{2})?',
                   '{hours}' => '([0-9]{2})?',
                   '{minutes}' => '([0-9]{2})?',
-                  '{postname}' => '([_0-9a-zA-Z-]+)?',
+                  '{postname}' => '([_0-9a-zA-Z-.]+)?',
                   '{postid}' => '([0-9]+)?',
                   '{catname}' => '([_0-9a-zA-Z-]+)?',
                   '{catid}' => '([0-9]+)?',



More information about the pLog-svn mailing list