[pLog-svn] r3427 - plog/trunk/class/net
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Wed May 17 05:50:49 GMT 2006
Author: pwestbro
Date: 2006-05-17 05:50:34 +0000 (Wed, 17 May 2006)
New Revision: 3427
Modified:
plog/trunk/class/net/linkparser.class.php
Log:
Fixed the regular expressions in link parser
Modified: plog/trunk/class/net/linkparser.class.php
===================================================================
--- plog/trunk/class/net/linkparser.class.php 2006-05-16 22:23:11 UTC (rev 3426)
+++ plog/trunk/class/net/linkparser.class.php 2006-05-17 05:50:34 UTC (rev 3427)
@@ -21,7 +21,7 @@
'{blogname}' => '([_0-9a-zA-Z-]+)?',
'{blogid}' => '([0-9]+)?',
'{blogowner}' => '([_0-9a-zA-Z-]+)?',
- '{blogdomain}' => '([0-9a-zA-Z-.]+)?',
+ '{blogdomain}' => '([0-9a-zA-Z.-]+)?',
'{op}' => '([_0-9a-z-]+)?',
'{year}' => '([0-9]{4})?',
'{month}' => '([0-9]{2})?',
@@ -34,11 +34,11 @@
'{catid}' => '([0-9]+)?',
'{username}' => '([_0-9a-zA-Z-]+)?',
'{userid}' => '([0-9]+)?',
- '{templatename}' => '([_0-9a-zA-Z-.]+)?',
+ '{templatename}' => '([_0-9a-zA-Z.-]+)?',
'{resourceid}' => '([0-9]+)?',
- '{resourcename}' => '([_0-9a-zA-Z-. \(\)\[\]]+)?',
+ '{resourcename}' => '([_0-9a-zA-Z. \(\)\[\]-]+)?',
'{albumid}' => '([0-9]+)?',
- '{albumname}' => '([_0-9a-zA-Z- ]*)?'
+ '{albumname}' => '([_0-9a-zA-Z -]*)?'
);
var $_linkFormat;
More information about the pLog-svn
mailing list